Get series

获取指定网址状态码

请求地址:https://api.menhood.wang/getstatus/?url=
示例:https://api.menhood.wang/getstatus/?url=https://www.baidu.com
ajax方式示例:

$.ajax({
            async: true,
            type: "GET",
            dataType: "text",
            url: "https://api.menhood.wang/getstatus/",
            data: {
                "url": "https://www.baidu.com"
            },
            success: function (result) {
                console.log(result);
                if (result == 200 || result == 301 || result == 302) {
                    console.log('Server is UP');
                };
            },
            error: function () {
                console.log('Ajax Get Error!');
            }
        });

获取B站视频cid

请求地址:https://api.menhood.wang/getcid/?url=

示例:https://api.menhood.wang/getcid/?url=https://www.bilibili.com/bangumi/play/ep251076

支持番剧未下架视频,没有做大范围测试,不知道其他分区如何

获取客户端ip

请求地址:https://api.menhood.wang/getcip

返回示例:

var reutrncip = {"cip": "113.248.154.47"};

使用示例:

访问者IP为:<input type="text" value="" id="getcipdemo" />
<script src="https://api.menhood.wang/getcip/"></script>
<script>
document.getElementById('getcipdemo').value=reutrncip['cip'];
</script>

获取RSS更新状态

请求地址:https://api.menhood.wang/get-rss-stat/?url=

示例:https://api.menhood.wang/get-rss-stat/?url=https://blog.menhood.wang/feed

支持feedatom.xmlsitemap.xml,与上次访问数据做对比,返回布尔值