android经验积累程序员API收集

免费开放接口API

2017-11-17  本文已影响28527人  844b9a3a3a68

为了方便各类开发者,现提供免费开放Api接口,所有接口均无使用限制,返回格式全是JSON,所以基本能满足大家的开发需求,但请各位不要将这些Api接入正式项目,因为有一些不稳定因素,目前服务器购买时长是三年,如果到期,我会自动续费,这些Api是我平时业余时间编写,可能有些不能满足需求的情况,请大家在留言区提出来,或者大家写Demo需要一些有关联的数据等等,都可以在留言区告诉我,我有时间一定会给大家处理。

目前接口列表:

2018-04-18 更新(已备案完成,可访问。):

应其他特殊需求,现正在进行域名备案,备案期间需要关闭服务器,待备案完成后方可访问,备案后,域名将允许在微信小程序或其他第三方领域使用。

2018-05-04 更新:

随机推荐热门段子【神评版本】评论列表

https://www.apiopen.top/satinCommentApi?id=27610708&page=1

接口传参说明:

返回值:

{
    "code": 200,
    "msg": "成功!",
    "data": {
        "author_uid": 19064947,
        "hot": {
            "info": {
                "count": 3
            },
            "list": [
                {
                    "content": "脚气闷到裆",
                    "ctime": "2018-04-17T22:30:02",
                    "data_id": 27610708,
                    "hate_count": 0,
                    "id": 479161,
                    "like_count": 154,
                    "precmts": [],
                    "status": 0,
                    "type": "text",
                    "user": {
                        "id": 21759605,
                        "is_vip": false,
                        "personal_page": "",
                        "profile_image": "http://wimg.spriteapp.cn/p/jie.jpg",
                        "qq_uid": "",
                        "qzone_uid": "",
                        "room_icon": "",
                        "room_name": "",
                        "room_role": "",
                        "room_url": "",
                        "sex": "m",
                        "total_cmt_like_count": "255",
                        "username": "风盖着吹",
                        "weibo_uid": ""
                    },
                    "vote": []
                },
                {
                    "content": "中间开个口,嗯 很舒坦",
                    "ctime": "2018-04-20T01:32:19",
                    "data_id": 27610708,
                    "hate_count": 2,
                    "id": 685602,
                    "like_count": 70,
                    "precmts": [],
                    "status": 0,
                    "type": "text",
                    "user": {
                        "id": 22382795,
                        "is_vip": false,
                        "personal_page": "",
                        "profile_image": "http://wimg.spriteapp.cn/profile/large/2018/04/20/5ad8d12442b3a_mini.jpg",
                        "qq_uid": "",
                        "qzone_uid": "",
                        "room_icon": "",
                        "room_name": "",
                        "room_role": "",
                        "room_url": "",
                        "sex": "m",
                        "total_cmt_like_count": "84",
                        "username": "昵称审核未通过",
                        "weibo_uid": ""
                    },
                    "vote": []
                },
                {
                    "content": "麻烦姐夫打赞",
                    "ctime": "2018-04-19T23:52:38",
                    "data_id": 27610708,
                    "hate_count": 5,
                    "id": 676713,
                    "like_count": 33,
                    "precmts": [],
                    "status": 0,
                    "type": "text",
                    "user": {
                        "id": 22380832,
                        "is_vip": false,
                        "personal_page": "http://user.qzone.qq.com/73810188211C98272F24B39C95F3888D",
                        "profile_image": "http://wimg.spriteapp.cn/profile/large/2018/04/19/5ad8b98686516_mini.jpg",
                        "qq_uid": "",
                        "qzone_uid": "73810188211C98272F24B39C95F3888D",
                        "room_icon": "",
                        "room_name": "",
                        "room_role": "",
                        "room_url": "",
                        "sex": "m",
                        "total_cmt_like_count": "33",
                        "username": "周某人来找姐夫",
                        "weibo_uid": ""
                    },
                    "vote": []
                }
            ]
        },
        "normal": {
            "info": {
                "count": 140,
                "np": 20
            },
            "list": [
                {
                    "content": "你是想象不出自己有多穷",
                    "ctime": "2018-05-02T23:17:43",
                    "data_id": 27610708,
                    "hate_count": 0,
                    "id": 1750296,
                    "like_count": 0,
                    "precmts": [],
                    "status": 0,
                    "type": "text",
                    "user": {
                        "id": 16144082,
                        "is_vip": false,
                        "personal_page": "http://user.qzone.qq.com/3720E9B0E9A28CBCB2BF1639F100A7F1",
                        "profile_image": "http://wimg.spriteapp.cn/profile/large/2018/04/30/5ae6fe78a87ed_mini.jpg",
                        "qq_uid": "",
                        "qzone_uid": "3720E9B0E9A28CBCB2BF1639F100A7F1",
                        "room_icon": "",
                        "room_name": "",
                        "room_role": "",
                        "room_url": "",
                        "sex": "m",
                        "total_cmt_like_count": "213",
                        "username": "请问菇凉妳的心怎么走",
                        "weibo_uid": ""
                    },
                    "vote": []
                },
                {
                    "content": "脚背痒怎么办",
                    "ctime": "2018-04-24T19:48:02",
                    "data_id": 27610708,
                    "hate_count": 0,
                    "id": 1117028,
                    "like_count": 0,
                    "precmts": [],
                    "status": 0,
                    "type": "text",
                    "user": {
                        "id": 20600661,
                        "is_vip": false,
                        "personal_page": "",
                        "profile_image": "http://wx.qlogo.cn/mmopen/ZeuSZYeUCFL1xh9kYCrel0ia1E8a5RugFZ4A1bwt3Y6Gb3ph6MZdqaTw4A6Dq9Q8SoToEKqOjiaDfopBqib2wrlZaOWibz9V0F96/0",
                        "qq_uid": "",
                        "qzone_uid": "",
                        "room_icon": "",
                        "room_name": "",
                        "room_role": "",
                        "room_url": "",
                        "sex": "m",
                        "total_cmt_like_count": "1728",
                        "username": "付小瑞",
                        "weibo_uid": ""
                    },
                    "vote": []
                },
                {
                    "content": "看来我的恋脚癖该找个医生治治了",
                    "ctime": "2018-04-23T18:39:04",
                    "data_id": 27610708,
                    "hate_count": 0,
                    "id": 1028740,
                    "like_count": 0,
                    "precmts": [],
                    "status": 0,
                    "type": "text",
                    "user": {
                        "id": 22291903,
                        "is_vip": false,
                        "personal_page": "http://m.weibo.com/u/5257725865",
                        "profile_image": "http://wimg.spriteapp.cn/profile/large/2018/04/20/5ad9456199f2e_mini.jpg",
                        "qq_uid": "",
                        "qzone_uid": "",
                        "room_icon": "",
                        "room_name": "",
                        "room_role": "",
                        "room_url": "",
                        "sex": "m",
                        "total_cmt_like_count": "342",
                        "username": "关爱97年空巢老人",
                        "weibo_uid": 5257725865
                    },
                    "vote": []
                },
                {
                    "content": "放屁加脚气,原子弹的威力",
                    "ctime": "2018-04-23T15:54:44",
                    "data_id": 27610708,
                    "hate_count": 0,
                    "id": 1017581,
                    "like_count": 1,
                    "precmts": [],
                    "status": 0,
                    "type": "text",
                    "user": {
                        "id": 21975374,
                        "is_vip": false,
                        "personal_page": "",
                        "profile_image": "http://wimg.spriteapp.cn/p/jie.jpg",
                        "qq_uid": "",
                        "qzone_uid": "",
                        "room_icon": "",
                        "room_name": "",
                        "room_role": "",
                        "room_url": "",
                        "sex": "m",
                        "total_cmt_like_count": "7",
                        "username": "刚刚好EwD",
                        "weibo_uid": ""
                    },
                    "vote": []
                },
                {
                    "content": "谁能告诉我这是鞋还是裤子?",
                    "ctime": "2018-04-23T10:04:22",
                    "data_id": 27610708,
                    "hate_count": 0,
                    "id": 992004,
                    "like_count": 0,
                    "precmts": [],
                    "status": 0,
                    "type": "text",
                    "user": {
                        "id": 17998445,
                        "is_vip": false,
                        "personal_page": "http://user.qzone.qq.com/30BA25041BC9EC6D140D26420AD6FF80",
                        "profile_image": "http://qzapp.qlogo.cn/qzapp/100336987/30BA25041BC9EC6D140D26420AD6FF80/100",
                        "qq_uid": "",
                        "qzone_uid": "30BA25041BC9EC6D140D26420AD6FF80",
                        "room_icon": "",
                        "room_name": "",
                        "room_role": "",
                        "room_url": "",
                        "sex": "m",
                        "total_cmt_like_count": "125",
                        "username": "殠尐孖 ",
                        "weibo_uid": ""
                    },
                    "vote": []
                },
                {
                    "content": "噗,哈哈哈哈哈哈哈哈哈哈哈哈",
                    "ctime": "2018-04-21T13:37:37",
                    "data_id": 27610708,
                    "hate_count": 0,
                    "id": 818201,
                    "like_count": 1,
                    "precmts": [
                        {
                            "content": "脚气闷到裆",
                            "ctime": "2018-04-17T22:30:02",
                            "data_id": 27610708,
                            "floor": 1,
                            "hate_count": 0,
                            "id": 479161,
                            "like_count": 154,
                            "status": 0,
                            "type": "text",
                            "user": {
                                "id": 21759605,
                                "is_vip": false,
                                "personal_page": "",
                                "profile_image": "http://wimg.spriteapp.cn/p/jie.jpg",
                                "qq_uid": "",
                                "qzone_uid": "",
                                "room_icon": "",
                                "room_name": "",
                                "room_role": "",
                                "room_url": "",
                                "sex": "m",
                                "total_cmt_like_count": "255",
                                "username": "风盖着吹",
                                "weibo_uid": ""
                            },
                            "vote": []
                        }
                    ],
                    "status": 0,
                    "type": "text",
                    "user": {
                        "id": 19785848,
                        "is_vip": false,
                        "personal_page": "",
                        "profile_image": "http://wimg.spriteapp.cn/profile/large/2017/05/10/5912f6edaf3f5_mini.jpg",
                        "qq_uid": "",
                        "qzone_uid": "",
                        "room_icon": "",
                        "room_name": "",
                        "room_role": "",
                        "room_url": "",
                        "sex": "m",
                        "total_cmt_like_count": "4",
                        "username": "About today.WYL",
                        "weibo_uid": ""
                    },
                    "vote": []
                }
            ]
        }
    }
}

热门小说推荐列表

https://www.apiopen.top/novelApi

返回值:

{
    "code": 200,
    "msg": "成功!",
    "data": [
        {
            "bid": "7034781",
            "bookname": "乡村美女图",
            "introduction": "乡村赤脚小医生叶福贵,机缘巧合偶获仙府,担负起寻找转世仙女美女的任务,同时,带领着乡亲们走上富裕的阳光大道。 寻找一个个仙子美女,那也是一个技术活,和一个个仙女一起生活,更是一门艺术,叶福贵这个仙府主人,养活一大堆仙女,太幸福操劳了。 这个幸福的操劳,放着我来,谁都别抢。",
            "book_info": "乡村赤脚小医生叶福贵,机缘巧合偶获仙府,担负起寻找转世仙女美女的任务,同时,带领着乡亲们走上富裕的阳光大道。 寻找一个个仙子美女,那也是一个技术活,和一个个仙女一起生活,更是一门艺术,叶福贵这个仙府主人,养活一大堆仙女,太幸福操劳了。 这个幸福的操劳,放着我来,谁都别抢。",
            "chapterid": "1010932",
            "topic": "第一千一百四十章视察工作",
            "topic_first": "第一章和美女村长一起看春戏",
            "date_updated": 1525350909,
            "author": "3644907",
            "author_name": "老婆爱我",
            "top_class": "502",
            "state": "1",
            "readCount": "0",
            "praiseCount": "0",
            "stat_name": "连载",
            "class_name": "都市生活",
            "size": "3338885",
            "book_cover": "http://img-tailor.11222.cn/bcv/big/201703221635121902.jpg",
            "chapterid_first": "786581",
            "chargeMode": "3",
            "digest": "0",
            "price": "0.5",
            "tag": [
                "爽文",
                "学生",
                "异能",
                "扮猪吃虎"
            ],
            "is_new": 1,
            "discountNum": 10,
            "quick_price": 0,
            "formats": "1",
            "audiobook_playCount": "0",
            "chapterNum": "1140",
            "isShortStory": false,
            "userid": "603878327",
            "search_heat": "91",
            "num_click": "647637",
            "recommend_num": "605962",
            "first_cate_id": "51",
            "first_cate_name": "都市小说",
            "reason": ""
        },
        {
            "bid": "7010609",
            "bookname": "套路总裁轻点爱",
            "introduction": "  作为跨国集团的总裁,黄金单身汉,经常有人给他送女人。这个胆大包天的丫头竟然把男人送上了他的床,这是在怀疑他的性取向吗?他气愤不已地把男人丢了出去,把她拽了进来,他要向她证明,他到底喜欢男人还是女人!片段一:赵冬寒:沐易臣,你到底想干什么?沐易臣:你!片段二:沐易臣:我们好久没上床了,过来!赵冬寒:别,昨晚不是还……了吗?沐易臣:宝贝你忘了?昨晚我是在“沙发”上办的你。",
            "book_info": "  作为跨国集团的总裁,黄金单身汉,经常有人给他送女人。这个胆大包天的丫头竟然把男人送上了他的床,这是在怀疑他的性取向吗?他气愤不已地把男人丢了出去,把她拽了进来,他要向她证明,他到底喜欢男人还是女人!片段一:赵冬寒:沐易臣,你到底想干什么?沐易臣:你!片段二:沐易臣:我们好久没上床了,过来!赵冬寒:别,昨晚不是还……了吗?沐易臣:宝贝你忘了?昨晚我是在“沙发”上办的你。",
            "chapterid": "991532",
            "topic": "番外十二赔了夫人又折兵(全文完结)",
            "topic_first": "第一章头牌男公关",
            "date_updated": 1523846993,
            "author": "613555",
            "author_name": "白秋练",
            "top_class": "502",
            "state": "2",
            "readCount": "0",
            "praiseCount": "0",
            "stat_name": "完结",
            "class_name": "现代言情",
            "size": "1247582",
            "book_cover": "http://img-tailor.11222.cn/bcv/big/201804271512516485.jpg",
            "chapterid_first": "846760",
            "chargeMode": "3",
            "digest": "0",
            "price": "0.5",
            "tag": [
                "腹黑",
                "霸道",
                "总裁",
                "宠文甜文"
            ],
            "is_new": 1,
            "discountNum": 10,
            "quick_price": 0,
            "formats": "1",
            "audiobook_playCount": "0",
            "chapterNum": "592",
            "isShortStory": false,
            "userid": "744458482",
            "search_heat": "91",
            "num_click": "439140",
            "recommend_num": "397465",
            "first_cate_id": "19",
            "first_cate_name": "言情小说",
            "reason": ""
        },
        {
            "bid": "6720460",
            "bookname": "太古狂魔",
            "introduction": "一名身缠七彩恶龙、肩扛古老石棺的白发青年,仰望高高在上的诸天至尊、万古道祖,淡淡道:“诸位,我说我这石棺葬过天,你们信么?”",
            "book_info": "一名身缠七彩恶龙、肩扛古老石棺的白发青年,仰望高高在上的诸天至尊、万古道祖,淡淡道:“诸位,我说我这石棺葬过天,你们信么?”",
            "chapterid": "1041135",
            "topic": "第一千二百五十三章出尔反尔!",
            "topic_first": "第一章秦宇",
            "date_updated": 1525365302,
            "author": "52467",
            "author_name": "汉隶",
            "top_class": "502",
            "state": "1",
            "readCount": "507",
            "praiseCount": "10",
            "stat_name": "连载",
            "class_name": "东方玄幻",
            "size": "2882433",
            "book_cover": "http://img-tailor.11222.cn/bcv/big/201607011010477093.jpg",
            "chapterid_first": "712798",
            "chargeMode": "3",
            "digest": "0",
            "price": "0.5",
            "tag": [
                "玄幻",
                "东方",
                "无敌"
            ],
            "is_new": 1,
            "discountNum": 10,
            "quick_price": 0,
            "formats": "1",
            "audiobook_playCount": "0",
            "chapterNum": "1253",
            "isShortStory": false,
            "userid": "0",
            "search_heat": "73",
            "num_click": "1761506",
            "recommend_num": "1719831",
            "first_cate_id": "1",
            "first_cate_name": "玄幻小说",
            "reason": ""
        },
        {
            "bid": "7363143",
            "bookname": "99亿闪婚:豪门总裁夜夜忙",
            "introduction": "她二十年一次脚下失足,撞了他的豪车,留下签名和号码,走的不带一片云彩。不仅如此,还顺便牵走他‘未婚妻’的名义……隔日,全球惊爆季氏总裁惊现未婚妻……所以,她宋倾城这次是闯大祸了?!不但如此,某男还给她直接甩了一份闪婚协议书。一年后,宋倾城将离婚协议拍在某男面前,“季先生,请签字!”“我有没有告诉过你我不会写三个字。”“哪三个字?”“季正霆。”“……”",
            "book_info": "她二十年一次脚下失足,撞了他的豪车,留下签名和号码,走的不带一片云彩。不仅如此,还顺便牵走他‘未婚妻’的名义……隔日,全球惊爆季氏总裁惊现未婚妻……所以,她宋倾城这次是闯大祸了?!不但如此,某男还给她直接甩了一份闪婚协议书。一年后,宋倾城将离婚协议拍在某男面前,“季先生,请签字!”“我有没有告诉过你我不会写三个字。”“哪三个字?”“季正霆。”“……”",
            "chapterid": "964130",
            "topic": "第699章孩子动了",
            "topic_first": "第1章劈腿能不能先说一声?",
            "date_updated": 1525397105,
            "author": "1283790",
            "author_name": "花木",
            "top_class": "502",
            "state": "1",
            "readCount": "0",
            "praiseCount": "0",
            "stat_name": "连载",
            "class_name": "现代言情",
            "size": "1425209",
            "book_cover": "http://img-tailor.11222.cn/bcv/big/201709041733565942.jpg",
            "chapterid_first": "844414",
            "chargeMode": "3",
            "digest": "0",
            "price": "0.5",
            "tag": [
                "霸道",
                "契约",
                "忠犬"
            ],
            "is_new": 1,
            "discountNum": 10,
            "quick_price": 0,
            "formats": "1",
            "audiobook_playCount": "0",
            "chapterNum": "699",
            "isShortStory": false,
            "userid": "0",
            "search_heat": "91",
            "num_click": "248638",
            "recommend_num": "206963",
            "first_cate_id": "19",
            "first_cate_name": "言情小说",
            "reason": ""
        }
    ]
}

小说搜索接口

https://www.apiopen.top/novelSearchApi?name=盗墓笔记

接口传参说明:

返回值:

{
    "code": 200,
    "msg": "成功!",
    "data": [
        "盗墓笔记",
        "盗墓笔记续9",
        "盗墓笔记续",
        "盗墓笔记续集",
        "盗墓笔记12终极解密",
        "盗墓笔记之寻龙图",
        "盗墓笔记之迷途",
        "盗墓笔记之寻仙",
        "盗墓笔记薄",
        "盗墓笔记之咒语"
    ]
}

小说详情接口

https://www.apiopen.top/novelInfoApi?name=盗墓笔记

接口传参说明:

返回值:

{
    "code": 200,
    "msg": "成功!",
    "data": {
        "status": 1,
        "info": {
            "page": 1,
            "size": 10,
            "count": 20,
            "total": 198,
            "qp_rewrite": "盗墓笔记",
            "qp_trigger": "NOVEL"
        },
        "aladdin": {
            "title": "盗墓笔记之寻龙图",
            "author": "今听雨",
            "category": "悬疑探险",
            "tags": "热血,爽文,坚毅,小说",
            "hh_hot": 175,
            "words": 612499,
            "host": "shuqi.com",
            "base": 0,
            "bid": 7508129,
            "mgbid": 0,
            "authorid": 1978275,
            "status": 1,
            "top_class": "502",
            "formats": 1,
            "cover": "http://img-tailor.11222.cn/bcv/big/201803161219417395.jpg",
            "desc": "寻龙图最初为商周时期一位名叫阴阳子的风水大师所著,记载了当时商周时期两座大墓和一座古遗迹祭坛所在的位置,后又加以推演,得三处真龙宝地,留言,得三可得天下之说,后被明代道士阳炎子所研究续写,后该道士改姓柳,为一权贵师爷,利用此权利之便,推演出九处真龙宝地,序言,得九为至尊,则不死,该图后因不明原因失踪,柳姓后人得知一二线索,而追查数百年并无得到,为一谜团。主人公退伍前的一场神秘任务而引发的一系列事件,退伍后,虽时隔多年,仍然耿耿于怀,于是展开了查明真相之路,不断的探索,找寻,使这件事越来越扑朔迷离,他发现,这里面竟然隐藏着惊天秘密,一座座古墓,一座座古遗迹中,不仅藏着惊天之谜,还有着危险重重。",
            "latest_chapter": {
                "cid": "968030",
                "cname": "第201章暂时平静的日子(大结局)",
                "ctime": 1522813934
            },
            "first_chapter": {
                "cid": "967830",
                "cname": "第1章紧急任务",
                "ctime": 1522813243
            }
        },
        "data": [
            {
                "title": "盗墓笔记续9",
                "author": "邪灵一把刀",
                "category": "悬疑探险",
                "tags": "探险,现代,诡异,盗墓,盗墓笔记",
                "hh_hot": 9681,
                "words": 1435277,
                "host": "shuqi.com",
                "base": 0,
                "bid": 3141966,
                "mgbid": 0,
                "authorid": 1631858,
                "status": 1,
                "top_class": "502",
                "formats": 1,
                "first_cid": 356518,
                "first_chapter": "国庆贺文,非盗墓笔记,免费奉送。",
                "cover": "http://img-tailor.11222.cn/bcv/middle/201603021215445850.jpg",
                "desc": "张家古楼事件以后,闷油瓶去了青铜门,而我回了杭州继续经营三叔的产业,本以为事件到此为止,谁知一切都没有结束。陈文锦再次出现,霍老太的遗物中夹杂着的神秘地图,第三枚鬼玺问世,或许用不着十年,终极的秘密近在眼前。"
            },
            {
                "title": "盗墓笔记续",
                "author": "夜初落",
                "category": "小说同人",
                "tags": "盗墓,悬疑推理,风水异术,小说",
                "hh_hot": 61,
                "words": 173198,
                "host": "shuqi.com",
                "base": 0,
                "bid": 3473400,
                "mgbid": 0,
                "authorid": 1646356,
                "status": 1,
                "top_class": "502",
                "formats": 1,
                "first_cid": 787111,
                "first_chapter": "第一章十年后,变了的是什么",
                "cover": "http://img-tailor.11222.cn/bcv/big/201706131159107399.jpg",
                "desc": "十年之后,闷油瓶从青铜门里出来,已经恢复齐羽记忆的吴邪,为了销毁云顶天空的秘密,结束闷油瓶的宿命,毅然踏上了一条崎岖又充满危险的道路...麒麟红是谁?十年之后,“它”又出现了!我的最终目的是终极。可能是因为老不更的原因等,网站要求先申请完结了,据说申请成功就不能改了,我今年大五,还有三个来月考研,虽说希望不大,,,要是考完了有时间了我可能会接着写点,但是估计应该会更不正式,,,,"
            },
            {
                "title": "盗墓笔记续集",
                "author": "盗墓博物馆",
                "category": "灵异鬼怪",
                "tags": "盗墓笔记,小说",
                "hh_hot": 1237,
                "words": 498030,
                "host": "shuqi.com",
                "base": 0,
                "bid": 177502,
                "mgbid": 0,
                "authorid": 187984,
                "status": 1,
                "top_class": "502",
                "formats": 1,
                "first_cid": 358521,
                "first_chapter": "版本0第一章行动",
                "cover": "http://img-tailor.11222.cn/bcv/big/201604111640294541.jpg",
                "desc": "原本,我只意识到自己还不能停,我还必须走下去,因为还有一个十年。可是现在,我意识到其他人都没有停过,计划和阴谋还在继续!我必须行动了!胖子、阿宁、小哥,我来了!终极?闷油瓶你愿让陈文锦和老九门其他人进去,可为何偏不让我这最想进去的人守护?还有那个领走我邮件的“我”难道了解三叔鬼域所有的秘密?难道张起灵跟霍老太进入张家楼只是为了给裘德考弄到那两个环?盗墓笔记留下了太多谜团,来读续集解谜吧!"
            }
        ],
        "spend": {
            "total": 0.3841
        }
    }
}

小说内容接口

由于内容加密,这边无法解析,所以需要用上面详情ID去请求内容,内容地址:

http://t.shuqi.com/route.php?pagename=#!/bid/177502/ct/read

2018-03-30 更新:

随机推荐热门段子【神评版本】

https://www.apiopen.top/satinGodApi?type=1&page=1

接口传参说明:

当page=0时,会随机返回一页数据,page>=1时会返回相应页码的数据。

返回type备注:

type=text : 文字
type=image : 图片
type=gif : Gif
type=video: 视频

返回值:

{
    "code": 200,
    "msg": "成功!",
    "data": [
        {
            "type": "image",
            "text": "朝鲜美女集体露面,世界人民都看傻了",
            "username": "黑皮咪咪眼 [黑皮住口]",
            "uid": "18682920",
            "header": "http://wimg.spriteapp.cn/profile/large/2016/06/27/577119b7d372e_mini.jpg",
            "comment": 267,
            "top_commentsVoiceuri": null,
            "top_commentsContent": "大爷的,一共就俩运动员。整几百号啦啦队, 去棒子国混吃混喝,三胖儿也太狠了",
            "top_commentsHeader": "http://wimg.spriteapp.cn/profile",
            "top_commentsName": "用户983787",
            "passtime": "2018-03-30 11:00:35",
            "soureid": 27312135,
            "up": 575,
            "down": 107,
            "forward": 7,
            "image": "http://wimg.spriteapp.cn/ugc/2018/03/12/5aa5fa6cf1e8f_1.jpg",
            "gif": null,
            "thumbnail": "http://wimg.spriteapp.cn/ugc/2018/03/12/5aa5fa6cf1e8f_1.jpg",
            "video": null
        },
        {
            "type": "video",
            "text": "来自一位90后的内心独白! ",
            "username": "YXDDDD",
            "uid": "13347954",
            "header": "http://wimg.spriteapp.cn/profile/picture1/M00/11/81/wKiFR1THDUSADMvAAAAZItE7DD4.cn_238",
            "comment": 409,
            "top_commentsVoiceuri": null,
            "top_commentsContent": "要不,咱们反了吧!",
            "top_commentsHeader": "http://wimg.spriteapp.cn/profile/large/2016/10/01/57ef726724bef_mini.jpg",
            "top_commentsName": "百思绿帽帮",
            "passtime": "2018-03-29 20:53:01",
            "soureid": 27368200,
            "up": 1738,
            "down": 37,
            "forward": 462,
            "image": null,
            "gif": null,
            "thumbnail": "http://wimg.spriteapp.cn/picture/2018/0328/27368200_565_66.jpg",
            "video": "http://wvideo.spriteapp.cn/video/2018/0328/491f7b24325911e89496842b2b4c75ab_wpd.mp4"
        },
        {
            "type": "video",
            "text": "听说舌头能这么玩……我想试试!",
            "username": "YXDDDD",
            "uid": "13347954",
            "header": "http://wimg.spriteapp.cn/profile/picture1/M00/11/81/wKiFR1THDUSADMvAAAAZItE7DD4.cn_238",
            "comment": 292,
            "top_commentsVoiceuri": null,
            "top_commentsContent": "手机:啊……哦……喔……嘶……",
            "top_commentsHeader": "http://wimg.spriteapp.cn/profile/large/2015/06/21/55869b8e0c704_mini.jpg",
            "top_commentsName": "寻幻作乐",
            "passtime": "2018-03-29 10:47:01",
            "soureid": 27368921,
            "up": 1141,
            "down": 45,
            "forward": 286,
            "image": null,
            "gif": null,
            "thumbnail": "http://wimg.spriteapp.cn/picture/2018/0328/27368921_754.jpg",
            "video": "http://wvideo.spriteapp.cn/video/2018/0328/9e55f240325811e8b666842b2b4c75ab_wpd.mp4"
        },
        {
            "type": "image",
            "text": "“月薪一万是讨饭!”上海公园相亲角又出惊句,你又拖后腿了么?",
            "username": "这又神马情况 [有容乃悦]",
            "uid": "19794323",
            "header": "http://wimg.spriteapp.cn/profile/large/2017/11/23/5a16a76c2ceeb_mini.jpg",
            "comment": 254,
            "top_commentsVoiceuri": null,
            "top_commentsContent": "月薪1500的那些是不是就是丐帮的基层人员了?",
            "top_commentsHeader": "http://qzapp.qlogo.cn/qzapp/100336987/829C2E05237C4F9753FA07D0C0AEDA53/100",
            "top_commentsName": "loners",
            "passtime": "2018-03-29 10:38:01",
            "soureid": 27369591,
            "up": 571,
            "down": 95,
            "forward": 63,
            "image": "http://wimg.spriteapp.cn/ugc/2018/03/28/5abb6d90d1556_1.jpg",
            "gif": null,
            "thumbnail": "http://wimg.spriteapp.cn/ugc/2018/03/28/5abb6d90d1556_1.jpg",
            "video": null
        }
    ]
}

2018-03-18 更新:

用户模块

使用用户模块需要先申请appKey

1.用户注册接口:

https://www.apiopen.top/createUser?key=00d91e8e0cca2b76f515926a36db68f5&phone=13594347817&passwd=123654

接口说明(如需上传头像,请使用POST):

以上参数必填项:key+phone+passwd

返回值(注册成功):

{
    "code": 200,
    "msg": "成功!",
    "data": {
        "key": "00d91e8e0cca2b76f515926a36db68f5",
        "phone": "13594347817",
        "name": "peakchao",
        "passwd": "123456",
        "text": "这是我的签名。",
        "img": "https://res.apiopen.top/2018031817571995.key.png",
        "other": "这是我的备注信息1",
        "other2": "这是我的备注信息2",
        "createTime": "2018-03-18 17:57:20"
    }
}

2.用户登陆接口:

https://www.apiopen.top/login?key=00d91e8e0cca2b76f515926a36db68f5&phone=13594347817&passwd=123456

返回值(登陆成功):

{
    "code": 200,
    "msg": "成功!",
    "data": {
        "key": "00d91e8e0cca2b76f515926a36db68f5",
        "phone": "13594347817",
        "name": "peakchao",
        "passwd": "123456",
        "text": "这是我的签名。",
        "img": "https://res.apiopen.top/2018031817571995.key.png",
        "other": "这是我的备注信息1",
        "other2": "这是我的备注信息2",
        "createTime": "2018-03-18 17:57:20"
    }
}

2018-02-06 更新:

ContentType定义为JSON省去前端转换JSON过程,配置允许跨域。


2018-02-04 更新:

协议升级HTTPS,无需配置端口号,兼容老接口,以前所有旧接口将会自动重定向到新地址。


2018-01-19 更新:

应用统计相关接口

1.创建应用接口

https://www.apiopen.top/createUserKey?appId=com.chat.peakchao&passwd=123456

接口说明:

返回值(创建成功/ID和密码对应即是查询):

{
    "code": 200,
    "msg": "成功!",
    "data": {
        "appId": "com.chat.peakchao",
        "appkey": "00d91e8e0cca2b76f515926a36db68f5"
    }
}

返回值(已经使用):

{
    "code": 204,
    "msg": "该AppId已经被注册!",
    "data": null
}

2.增加统计信息接口

https://www.apiopen.top/addStatistics?appKey=00d91e8e0cca2b76f515926a36db68f5&type=点击统计&typeId=1&count=2

接口说明:

返回值:

{
    "code": 200,
    "msg": "统计成功!",
    "data": null
}

3.查询统计信息接口

https://www.apiopen.top/findStatistics?appKey=00d91e8e0cca2b76f515926a36db68f5

接口说明:

返回值:

{
    "code": 200,
    "msg": "成功!",
    "data": [
        {
            "type": "点击统计",
            "typeId": 1,
            "count": 2
        },
        {
            "type": "注册统计",
            "typeId": 0,
            "count": 1
        }
    ]
}

2017-11-25 更新:

女性个性网名获取接口

https://www.apiopen.top/femaleNameApi?page=1

接口说明:

备注:

当page=0时,会随机返回一页数据,page>=1时会返回相应页码的数据。

返回值:

{
    "code": 200,
    "msg": "成功!",
    "data": [
        {
            "femalename": "花花世界丶小风流"
        },
        {
            "femalename": "回忆似风不可追"
        },
        {
            "femalename": "向阳花.永不低头"
        },
        {
            "femalename": "纠结需要的心痛゛"
        },
        {
            "femalename": "九片棱角的灬回忆"
        },
        {
            "femalename": "斑马线上的妖精"
        },
        {
            "femalename": "各种高潮各种飘"
        },
        {
            "femalename": "舊城舊事就回憶ず"
        },
        {
            "femalename": "有打有闹有情调づ"
        },
        {
            "femalename": "如果你還不明白。"
        },
        {
            "femalename": "泼墨挥笔画中仙"
        },
        {
            "femalename": "迷途在北极的鱼"
        },
        {
            "femalename": "猴子死了谁偷桃丶"
        },
        {
            "femalename": "今夕何处觅良人"
        },
        {
            "femalename": "只想陪在你身边"
        },
        {
            "femalename": "十里长亭花落尽"
        },
        {
            "femalename": "丶秋雨萌萌入凉意"
        },
        {
            "femalename": "海岛陌安逝暮梦"
        },
        {
            "femalename": "上帝是一种信仰"
        },
        {
            "femalename": "我的男人请尊重"
        }
    ]
}

美图获取接口

https://www.apiopen.top/meituApi?page=1

接口说明:

备注:

当page=0时,会随机返回一页数据,page>=1时会返回相应页码的数据。

返回值:

{
    "code": 200,
    "msg": "成功!",
    "data": [
        {
            "createdAt": "2017-11-23T08:32:29.546Z",
            "publishedAt": "2017-11-24T11:08:03.624Z",
            "type": "美图",
            "url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171123083218_5mhRLg_sakura.gun_23_11_2017_8_32_9_312.jpeg"
        },
        {
            "createdAt": "2017-11-20T07:49:41.797Z",
            "publishedAt": "2017-11-20T12:42:06.454Z",
            "type": "美图",
            "url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171120074925_ZXDh6l_joanne_722_20_11_2017_7_49_16_336.jpeg"
        },
        {
            "createdAt": "2017-11-17T10:31:41.155Z",
            "publishedAt": "2017-11-17T12:39:48.189Z",
            "type": "美图",
            "url": "http://7xi8d6.com1.z0.glb.clouddn.com/2017-11-17-22794158_128707347832045_9158114204975104000_n.jpg"
        },
        {
            "createdAt": "2017-11-16T11:57:11.4Z",
            "publishedAt": "2017-11-16T12:01:05.619Z",
            "type": "美图",
            "url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171116115656_vnsrab_Screenshot.jpeg"
        },
        {
            "createdAt": "2017-11-14T10:13:21.137Z",
            "publishedAt": "2017-11-14T10:43:36.180Z",
            "type": "美图",
            "url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171114101305_NIAzCK_rakukoo_14_11_2017_10_12_58_703.jpeg"
        },
        {
            "createdAt": "2017-11-13T08:42:35.306Z",
            "publishedAt": "2017-11-13T12:10:58.643Z",
            "type": "美图",
            "url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171113084220_LuJgqv_sakura.gun_13_11_2017_8_42_12_311.jpeg"
        },
        {
            "createdAt": "2017-11-09T09:53:06.802Z",
            "publishedAt": "2017-11-10T08:10:02.838Z",
            "type": "美图",
            "url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171109095254_dOw5qh_bluenamchu_9_11_2017_9_52_47_256.jpeg"
        },
        {
            "createdAt": "2017-11-07T10:02:58.73Z",
            "publishedAt": "2017-11-08T11:00:50.559Z",
            "type": "美图",
            "url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171107100244_0fbENB_yyannwong_7_11_2017_10_2_5_982.jpeg"
        },
        {
            "createdAt": "2017-11-02T09:23:05.497Z",
            "publishedAt": "2017-11-06T12:40:39.976Z",
            "type": "美图",
            "url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171102092251_AY0l4b_alrisaa_2_11_2017_9_22_44_335.jpeg"
        },
        {
            "createdAt": "2017-11-01T14:18:52.937Z",
            "publishedAt": "2017-11-01T14:20:59.209Z",
            "type": "美图",
            "url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171101141835_yQYTXc_enakorin_1_11_2017_14_16_45_351.jpeg"
        },
        {
            "createdAt": "2017-10-31T10:56:55.988Z",
            "publishedAt": "2017-10-31T12:25:55.217Z",
            "type": "美图",
            "url": "http://7xi8d6.com1.z0.glb.clouddn.com/2017-10-31-nozomisasaki_official_31_10_2017_10_49_17_24.jpg"
        },
        {
            "createdAt": "2017-10-27T11:40:43.793Z",
            "publishedAt": "2017-10-27T12:02:30.376Z",
            "type": "美图",
            "url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171027114026_v8VFwP_joanne_722_27_10_2017_11_40_17_370.jpeg"
        },
        {
            "createdAt": "2017-10-25T11:30:18.697Z",
            "publishedAt": "2017-10-25T11:39:10.950Z",
            "type": "美图",
            "url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171025112955_lmesMu_katyteiko_25_10_2017_11_29_43_270.jpeg"
        },
        {
            "createdAt": "2017-10-24T08:35:43.61Z",
            "publishedAt": "2017-10-24T11:50:49.1Z",
            "type": "美图",
            "url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171024083526_Hq4gO6_bluenamchu_24_10_2017_8_34_28_246.jpeg"
        },
        {
            "createdAt": "2017-10-23T12:31:32.639Z",
            "publishedAt": "2017-10-23T12:44:23.660Z",
            "type": "美图",
            "url": "https://img.gank.io/anri.kumaki_23_10_2017_12_27_30_151.jpg"
        },
        {
            "createdAt": "2017-10-18T09:14:07.966Z",
            "publishedAt": "2017-10-20T10:26:24.673Z",
            "type": "美图",
            "url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171018091347_Z81Beh_nini.nicky_18_10_2017_9_13_35_727.jpeg"
        },
        {
            "createdAt": "2017-10-12T07:32:28.644Z",
            "publishedAt": "2017-10-17T13:10:43.731Z",
            "type": "美图",
            "url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171012073213_p4H630_joycechu_syc_12_10_2017_7_32_7_433.jpeg"
        },
        {
            "createdAt": "2017-10-12T07:31:27.363Z",
            "publishedAt": "2017-10-16T12:19:20.311Z",
            "type": "美图",
            "url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171012073108_0y12KR_anri.kumaki_12_10_2017_7_30_58_141.jpeg"
        },
        {
            "createdAt": "2017-10-11T08:49:21.485Z",
            "publishedAt": "2017-10-11T12:40:42.545Z",
            "type": "美图",
            "url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171011084856_0YQ0jN_joanne_722_11_10_2017_8_39_5_505.jpeg"
        },
        {
            "createdAt": "2017-10-10T12:38:25.180Z",
            "publishedAt": "2017-10-10T12:41:34.882Z",
            "type": "美图",
            "url": "http://7xi8d6.com1.z0.glb.clouddn.com/2017-10-10-sakura.gun_10_10_2017_12_33_34_751.jpg"
        }
    ]
}

2017-11-21 更新:

天气获取接口

https://www.apiopen.top/weatherApi?city=成都

接口说明:

返回值:

{
    "code": 200,
    "msg": "成功!",
    "data": {
        "yesterday": {
            "date": "20日星期一",
            "high": "高温 14℃",
            "fx": "无持续风向",
            "low": "低温 8℃",
            "fl": "<![CDATA[<3级]]>",
            "type": "多云"
        },
        "city": "成都",
        "aqi": "55",
        "forecast": [
            {
                "date": "21日星期二",
                "high": "高温 11℃",
                "fengli": "<![CDATA[<3级]]>",
                "low": "低温 7℃",
                "fengxiang": "无持续风向",
                "type": "阴"
            },
            {
                "date": "22日星期三",
                "high": "高温 13℃",
                "fengli": "<![CDATA[<3级]]>",
                "low": "低温 6℃",
                "fengxiang": "无持续风向",
                "type": "阴"
            },
            {
                "date": "23日星期四",
                "high": "高温 11℃",
                "fengli": "<![CDATA[<3级]]>",
                "low": "低温 5℃",
                "fengxiang": "无持续风向",
                "type": "阴"
            },
            {
                "date": "24日星期五",
                "high": "高温 12℃",
                "fengli": "<![CDATA[<3级]]>",
                "low": "低温 5℃",
                "fengxiang": "无持续风向",
                "type": "多云"
            },
            {
                "date": "25日星期六",
                "high": "高温 13℃",
                "fengli": "<![CDATA[<3级]]>",
                "low": "低温 6℃",
                "fengxiang": "无持续风向",
                "type": "多云"
            }
        ],
        "ganmao": "天凉,昼夜温差较大,较易发生感冒,请适当增减衣服,体质较弱的朋友请注意适当防护。",
        "wendu": "10"
    }
}

2017-11-19 更新:

此次更新删除以前所有老接口,重新编写接口。

新购服务器和域名,配置升级,提高接口稳定性,绑定域名,由于备案非常麻烦,没有备案,所以不能通过80端口直接访问。

由于更换新服务器,为了优化性能,本服务器只运行这一个项目,近期准备抽点时间,重新写接口,各位有需要的朋友们,有什么需求可以在留言区提出来。

以下是新服务器开放的Api:

https://www.apiopen.top/satinApi?type=1&page=1

接口传参说明:

当page=0时,会随机返回一页数据,page>=1时会返回相应页码的数据,图片包含GIF,is_gif 字段判断。

返回type备注:

type=1 : 全部
type=41 : 视频
type=10 : 图片
type=29 : 段子
type=31 : 声音

返回值:

{
    "code": 200,
    "msg": "成功!",
    "data": [
     {
            "type": "41",
            "text": "2017版狂人日记,单身狗的妄想症,都是没有女朋友惹的祸",
            "user_id": "15012957",
            "name": "北京郑云影视工作室",
            "screen_name": "北京郑云影视工作室",
            "profile_image": "http://tp4.sinaimg.cn/2665846363/50/5650083915/1",
            "created_at": "2017-10-14 11:57:01",
            "create_time": null,
            "passtime": "2017-10-14 11:57:01",
            "love": "99",
            "hate": "5",
            "comment": "7",
            "repost": "6",
            "bookmark": "1",
            "bimageuri": "http://wimg.spriteapp.cn/picture/2017/1013/26581410_188.jpg",
            "voiceuri": null,
            "voicetime": null,
            "voicelength": null,
            "status": "4",
            "theme_id": "58191",
            "theme_name": "搞笑视频",
            "theme_type": "1",
            "videouri": "http://wvideo.spriteapp.cn/video/2017/1013/59e029b7ddb34_wpd.mp4",
            "videotime": 301,
            "original_pid": "0",
            "cache_version": 2,
            "playcount": "1760",
            "playfcount": "37",
            "cai": "5",
            "weixin_url": null,
            "image1": "http://wimg.spriteapp.cn/picture/2017/1013/26581410_188.jpg",
            "image2": "http://wimg.spriteapp.cn/picture/2017/1013/26581410_188.jpg",
            "is_gif": false,
            "image0": "http://wimg.spriteapp.cn/picture/2017/1013/26581410_188.jpg",
            "image_small": "http://wimg.spriteapp.cn/picture/2017/1013/26581410_188.jpg",
            "cdn_img": "http://wimg.spriteapp.cn/picture/2017/1013/26581410_188.jpg",
            "width": "1066",
            "height": "600",
            "tag": "",
            "t": 1507953421,
            "ding": "99",
            "favourite": "1",
            "top_cmt": null,
            "themes": null
        },
        {
            "type": "10",
            "text": "用你老家的方言“膝盖”怎么讲?我先说:葛啦半儿",
            "user_id": "19531820",
            "name": "臭宝蛋蛋",
            "screen_name": "臭宝蛋蛋",
            "profile_image": "http://tva4.sinaimg.cn/crop.0.0.996.996.50/e7f9e94djw8f6ursgyso3j20ro0rp0wy.jpg",
            "created_at": "2017-10-14 11:56:02",
            "create_time": null,
            "passtime": "2017-10-14 11:56:02",
            "love": "75",
            "hate": "7",
            "comment": "90",
            "repost": "0",
            "bookmark": "0",
            "bimageuri": "",
            "voiceuri": null,
            "voicetime": null,
            "voicelength": null,
            "status": "4",
            "theme_id": "56779",
            "theme_name": "都是大奇葩",
            "theme_type": "1",
            "videouri": "",
            "videotime": 0,
            "original_pid": "0",
            "cache_version": 2,
            "playcount": null,
            "playfcount": null,
            "cai": "7",
            "weixin_url": null,
            "image1": "http://wimg.spriteapp.cn/ugc/2017/10/13/59e0a54731626_1.jpg",
            "image2": "http://wimg.spriteapp.cn/ugc/2017/10/13/59e0a54731626_1.jpg",
            "is_gif": false,
            "image0": "http://wimg.spriteapp.cn/ugc/2017/10/13/59e0a54731626_1.jpg",
            "image_small": null,
            "cdn_img": "http://wimg.spriteapp.cn/ugc/2017/10/13/59e0a54731626_1.jpg",
            "width": "750",
            "height": "3024",
            "tag": "",
            "t": 1507953362,
            "ding": "75",
            "favourite": "0",
            "top_cmt": null,
            "themes": null
        }
    ]
}

案例:

全部 文字 图片 视频

由于数据来源于网络,如有侵权,请告知,我将立即删除。
还没写完,现在赶项目,有时间了继续完善。

上一篇下一篇

猜你喜欢

热点阅读