Android 常用接口

接口

上传字符串

https://api.apiopen.top/getJoke

{“page”:“1”,

“count”:“2”,

“type”:“video”

}

验证码接口:http://yun918.cn/study/public/index.php/verify

get 无参 返回结果:{‘code’:200,‘ret’:‘success’,‘data’:‘qosb’}

注册接口:http://yun918.cn/study/public/index.php/register

post 参数(String username,String password,String phone,String verify)

登录接口:http://yun918.cn/study/public/index.php/login

post 参数(String username,String password) 注:username可以是注册的用户名或手机号

http://apicloud.mob.com/appstore/health/search?key=1ac78a8602d58&name=%E8%BD%AC%E6%B0%A8%E9%85%B6

知乎接口:

http://news-at.zhihu.com/api/4/news/hot

//美女

http://gank.io/api/data/%E7%A6%8F%E5%88%A9/20/1

视频接口

热点视频:

http://c.m.163.com/nc/video/list/V9LG4E6VR/n/0-10.html

娱乐接口:

http://c.m.163.com/nc/video/list/00850FRB/n/0-10.html

搞笑接口:

http://c.m.163.com/nc/video/list/V9LG4B3A0/n/0-10.html

精品接口:

http://c.m.163.com/nc/video/list/00850FRB/n/0-10.html

第一个接口:

https://api.yunxuekeji.cn/yunxue_app_api/content/getData/30/66597/1/10

第二个接口:

https://api.yunxuekeji.cn/yunxue_app_api/teacher/getTeacherPower/ID

解释:ID替换成第一个接口中获取得到的ID

默认视频播放地址:

https://yunxue-bucket.oss-cn-shanghai.aliyuncs.com/classfile/0/从技术走向管理/001.从技术到管理_第1节_从技术到管理的内外部因素.mp4

新闻

http://c.m.163.com/nc/article/headline/T1348647909107/0-20.html

http://c.m.163.com/nc/article/BG6CGA9M00264N2N/full.html

http://c.3g.163.com/photo/api/set/0006/2136404.json

http://c.3g.163.com/photo/api/list/0096/4GJ60096.json

http://c.3g.163.com/photo/api/morelist/0096/4GJ60096/106571.json

http://gank.io/api/data/福利/20/1

http://c.m.163.com/nc/article/{type}/{id}/{startPage}-20.html

美女:

http://gank.io/api/data/%E7%A6%8F%E5%88%A9/20/1

https://gank.io/api/data/%E7%A6%8F%E5%88%A9/20/1 ------ 福利

http://www.qubaobei.com/ios/cf/dish_list.php?stage_id=1&limit=20&page=1 ----- 美食

http://api.tianapi.com/wxnew/?key=52b7ec3471ac3bec6846577e79f20e4c&num=10&page=10 — 期中考试

https://www.jianshu.com/u/66f2ecff1edc --------- 老师的 里面的宝贝多多

https://github.com/chentaishan/Jiyun_demo ----------- getHub 能看懂的就看

多布局接口

http://www.93.gov.cn/93app/data.do?channelId=0&startNum=0

http://v.juhe.cn/toutiao/index?type=shishang&key=1ed783e4d26e4c858dde49db387c481b

http://v.juhe.cn/toutiao/index?type=top&key=7a532c7ecaf0910ff2f3937e1084e3f8

http://v.juhe.cn/toutiao/index?type=shishang&key=d2c810afda836f6f04774dd84aa8c7b5

http://www.wanandroid.com/project/list/1/json?cid=294

http://www.wanandroid.com/article/list/0/json?cid=60

实现登录注册逻辑

1.绘制UI

2.实现验证码 和注册 登录的联动

http://api.tianapi.com/wxnew/?key=52b7ec3471ac3bec6846577e79f20e4c&num=1&page=10

玩安卓

//首页文章列表访问路径

public static final String articleStr = “http://www.wanandroid.com/article/list/0/json”;

//首页录播图访问路径

public static final String bannerStr = “http://www.wanandroid.com/banner/json”;

//标题栏路径

public static final String projectTabStr = “http://www.wanandroid.com/project/tree/json”;

//项目列表访问路径

public static final String projectListStr = “http://www.wanandroid.com/project/list/0/json”;

http://c.m.163.com/nc/article/headline/T1348647909107/0-20.html

科技接口:

http://c.m.163.com/nc/article/list/T1348648756099/0-20.html

财经接口:

http://c.m.163.com/nc/article/list/T1348648141035/0-20.html

军事接口:

http://c.m.163.com/nc/article/list/T1348649079062/0-20.html

体育接口:

http://c.m.163.com/nc/article/list/T1348649079062/0-20.html

房产接口:

http://c.m.163.com/nc/article/list/T1399700447917/0-20.html

足球接口:

http://c.m.163.com/nc/article/list/T1348648517839/0-20.html

娱乐接口:

http://c.m.163.com/nc/article/list/T1348648650048/0-20.html

电影接口:

http://c.m.163.com/nc/article/list/T1348654060988/0-20.html

汽车接口:

http://c.m.163.com/nc/article/list/T1350383429665/0-20.html

笑话接口:

http://c.m.163.com/nc/article/list/T1348654151579/0-20.html

游戏接口:

http://c.m.163.com/nc/article/list/T1348650593803/0-20.html

时尚接口:

http://c.m.163.com/nc/article/list/T1348650839000/0-20.html

情感接口:

http://c.m.163.com/nc/article/list/T1370583240249/0-20.html

精选接口:

http://c.m.163.com/nc/article/list/T1379038288239/0-20.html

电台接口:

http://c.m.163.com/nc/article/list/T1348649145984/0-20.html

NBA接口:

http://c.m.163.com/nc/article/list/T1348649776727/0-20.html

数码接口:

http://c.m.163.com/nc/article/list/T1351233117091/0-20.html

移动接口:

http://c.m.163.com/nc/article/list/T1356600029035/0-20.html

彩票接口:

http://c.m.163.com/nc/article/list/T1348654225495/0-20.html

教育接口:

http://c.m.163.com/nc/article/list/T1349837670307/0-20.html

论坛接口:

http://c.m.163.com/nc/article/list/T1348654204705/0-20.html

旅游接口:

http://c.m.163.com/nc/article/list/T1348649654285/0-20.html

手机接口:

http://c.m.163.com/nc/article/list/T1349837698345/0-20.html

博客接口:

http://c.m.163.com/nc/article/list/T1348648037603/0-20.html

社会接口:

http://c.m.163.com/nc/article/list/T1348654105308/0-20.html

家居接口:

http://c.m.163.com/nc/article/list/T1397016069906/0-20.html

暴雪接口:

http://c.m.163.com/nc/article/list/T1397116135282/0-20.html

亲子接口:

http://c.m.163.com/nc/article/list/T1348649475931/0-20.html

CBA接口:

http://c.m.163.com/nc/article/list/T1371543208049/0-20.html

http://www.93.gov.cn/93app/data.do?channelId=2&startNum=0

http://v.juhe.cn/toutiao/index?type=top&key=c6eb93f0ff4beb1e23a655bb7cc26031

http://fun.51fanli.com/api/taohuasuan/getHotItems/?c_src=5&cids=9000&page=1&size=10

高级期中考试:

http://api.tianapi.com/wxnew/?key=52b7ec3471ac3bec6846577e79f20e4c&num=1&page=10

知乎:

http://news-at.zhihu.com/api/4/news/latest

布局接口

https://gitee.com/ccyy2019/server/raw/master/workbook

油焖大虾:

http://www.qubaobei.com/ios/cf/dish_list.php?stage_id=1&limit=20&page=1

文件上传接口:

http://yun918.cn/study/public/file_upload.php

第一通航:

https://www.firstgainfo.com/firstga/app/news/listNewsChannel

POST方式:无参

请求头设置:

Content-Type:application/x-www-form-urlencoded


https://www.firstgainfo.com/firstga/app/news/downListNews

POST方式:有参

请求头设置:

Content-Type:application/json

请求体JSON形式:

{

"userId": "d56ea66e7ee741f498ca51242c8c6394",

"channelId": "b9240eee3b0211e8b64c00163e30445d",

"cursor": "0",

}


福利:

http://gank.io/api/data/%E7%A6%8F%E5%88%A9/20/1

数据智慧:

http://api.shujuzhihui.cn/api/news/categories

“appKey”: “9efa47bc199048a5a89a04d96420f9da”


http://api.shujuzhihui.cn/api/news/list

  "appKey": "9efa47bc199048a5a89a04d96420f9da",

    "category": "要闻",

  "page": "1"

http://api.shujuzhihui.cn/api/news/detail

"appKey": "908ca46881994ffaa6ca20b31755b675",

"newsId": "b53510b2402aba6d7bc51344c6f1176d"

玩Android

1.首页相关

1.1 首页文章列表

http://www.wanandroid.com/article/list/0/json

方法:GET

参数:无

1.2 首页banner

http://www.wanandroid.com/banner/json

方法:GET

参数:无

2.常用网站

http://www.wanandroid.com/friend/json

方法:GET

参数:无

3.项目

4.1 项目分类

http://www.wanandroid.com/project/tree/json

方法: GET

参数: 无

4.2 项目列表数据

http://www.wanandroid.com/project/list/1/json?cid=294

方法:GET

参数:

cid 分类的id,上面项目分类接口

页码:拼接在链接中,从1开始。

https://cnodejs.org/api/v1/topics?page=1&tab=job&limit=1

http://apps.game.qq.com/lol/act/website2013/video.php?page=1&pagesize=10&r1=1&source=lolapp&plat=android&version=9832&tdsourcetag=s_pcqq_aiomsg5

https://www.cnblogs.com/xiaoxi/category/961347.html

第一个接口:

https://api.yunxuekeji.cn/yunxue_app_api/content/getData/30/66597/1/10

第二个接口:

https://api.yunxuekeji.cn/yunxue_app_api/teacher/getTeacherPower/ID

解释:ID替换成第一个接口中获取得到的ID

默认视频播放地址:

https://yunxue-bucket.oss-cn-shanghai.aliyuncs.com/classfile/0/从技术走向管理/001.从技术到管理_第1节_从技术到管理的内外部因素.mp4

新闻

http://c.3g.163.com/photo/api/set/0006/2136404.json

http://c.3g.163.com/photo/api/list/0096/4GJ60096.json

http://c.3g.163.com/photo/api/morelist/0096/4GJ60096/106571.json

https://cnodejs.org/api/v1/topics?page=1&tab=job&limit=10

————————————————

版权声明:本文为CSDN博主「WentuoLi」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。

原文链接:https://blog.csdn.net/weixin_45644138/article/details/104506914

你可能感兴趣的:(Android 常用接口)