程序员福利各大平台免费接口,非常适用

开发 后端
本文总结了各大平台免费接口,对于程序员来说是一种福利,极其的实用。

[[123692]]

电商接口

京东获取单个商品价格接口:

http://p.3.cn/prices/mgets?skuIds=J_商品ID&type=1

ps:商品ID这么获取:http://item.jd.com/954086.html

物流接口

快递接口:

http://www.kuaidi100.com/query?type=快递公司代号&postid=快递单号

ps:快递公司编码:申通=”shentong” EMS=”ems” 顺丰=”shunfeng” 圆通=”yuantong” 中通=”zhongtong” 韵达=”yunda” 天天=”tiantian” 汇通=”huitongkuaidi” 全峰=”quanfengkuaidi” 德邦=”debangwuliu” 宅急送=”zhaijisong”

谷歌接口

FeedXml转json接口:

http://ajax.googleapis.com/ajax/services/feed/load?q=Feed地址&v=1.0

备选参数:callback:&callback=foo就会在json外面嵌套foo({})方便做jsonp使用。

备选参数:n:返回多少条记录。

天气接口

百度接口:

http://api.map.baidu.com/telematics/v3/weather?location=嘉兴&output=json&ak=5slgyqGDENN7Sy7pw29IUvrZ

location:城市名或经纬度 ak:开发者密钥 output:默认xml

气象局接口:

http://m.weather.com.cn/data/101010100.html

音乐接口

虾米接口

http://kuang.xiami.com/app/nineteen/search/key/歌曲名称/diandian/1/page/歌曲当前页?_=当前毫秒&callback=getXiamiData

QQ空间音乐接口

http://qzone-music.qq.com/fcg-bin/cgi_playlist_xml.fcg?uin=QQ号码&json=1&g_tk=1916754934

QQ空间收藏音乐接口

http://qzone-music.qq.com/fcg-bin/fcg_music_fav_getinfo.fcg?dirinfo=0&dirid=1&uin=QQ号&p=0.519638272547262&g_tk=1284234856

多米音乐接口

http://v5.pc.duomi.com/search-ajaxsearch-searchall?kw=关键字&pi=页码&pz=每页音乐数

soso接口

http://cgi.music.soso.com/fcgi-bin/fcg_search_xmldata.q?source=10&w=关键字&perpage=1&ie=utf-8

视频接口

土豆接口

http://api.tudou.com/v3/gw?method=album.item.get&appKey=Appkey&format=json&albumId=视频剧集ID&pageNo=当前页&pageSize=每页显示

地图接口

阿里云根据地区名获取经纬度接口

http://gc.ditu.aliyun.com/geocoding?a=苏州市

参数解释: 纬度,经度type 001 (100代表道路,010代表POI,001代表门址,111可以同时显示前三项)

阿里云根据经纬度获取地区名接口

http://gc.ditu.aliyun.com/regeocoding?l=39.938133,116.395739&type=001

IP接口

新浪接口(ip值为空的时候 获取本地的)

http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=json&ip=218.4.255.255

淘宝接口

http://ip.taobao.com/service/getIpInfo.php?ip=63.223.108.42

手机信息查询接口

淘宝网接口

http://tcc.taobao.com/cc/json/mobile_tel_segment.htm?tel=手机号

拍拍接口

http://virtual.paipai.com/extinfo/GetMobileProductInfo?mobile=手机号&amount=10000&callname=getPhoneNumInfoExtCallback 用例

百付宝接口

https://www.baifubao.com/callback?cmd=1059&callback=phone&phone=手机号

115接口

http://cz.115.com/?ct=index&ac=get_mobile_local&callback=jsonp1333962541001&mobile=手机号

有道接口

http://www.youdao.com/smartresult-xml/search.s?jsFlag=true&type=mobile&q=手机号

手机在线接口

http://api.showji.com/Locating/www.showji.com.aspx?m=手机号&output=json&callback=querycallback

视频信息接口

优酷

http://v.youku.com/player/getPlayList/VideoIDS/视频ID (比如 http://v.youku.com/v_show/id_XNTQxNzc4ODg0.html的ID就是XNTQxNzc4ODg0)

翻译、词典接口

腾讯

http://dict.qq.com/dict?q=词语

腾讯的部分接口

获取QQ昵称和用户头像

http://r.qzone.qq.com/cgi-bin/user/cgi_personal_card?uin=QQ

责任编辑:张伟 来源: 安度博客
相关推荐

2014-07-14 10:26:02

JQueryJQuery插件

2018-10-26 10:00:25

程序员

2012-02-28 10:52:13

2018-03-07 12:57:53

2017-12-27 15:11:22

程序员项目软件公司

2017-11-09 17:17:36

KotlinJavaWeb

2013-08-22 13:11:54

手游竞争白热化

2017-10-19 14:03:53

1024程序员福利

2015-10-29 09:50:36

程序员免费编程图书

2019-08-21 09:41:48

程序员JavaGitHub

2019-08-21 13:40:50

2016-09-27 10:07:31

2012-03-06 09:22:46

程序员

2013-08-20 09:33:59

程序员

2011-05-13 14:34:02

程序员

2021-06-02 05:47:32

程序员编程开发

2009-05-21 15:58:12

程序员工作经验职场

2022-01-05 07:07:36

网络

2020-07-17 09:55:11

程序员技能开发者

2017-11-14 21:30:15

点赞
收藏

51CTO技术栈公众号