实用API大全

有道翻译API
http://fanyi.youdao.com/openapi
有道翻译API支持中英互译,同时获得有道翻译结果和有道词典结果(可能没有),返回格式为XML或JSON。

百度翻译API
http://developer.baidu.com/wiki/index.php?title=帮助文档首页/百度翻译/百度翻译介绍
百度翻译API支持四种翻译类型:中译英、英译中、中译日和日译中。

有道IP地址API

http://www.youdao.com/smartresult-xml/search.s?type=ip&q=IP地址

返回格式:

1 <?xmlversion="1.0"encoding="gbk"?>
2 <smartresult>
3 <producttype="ip">
4 <ip>IP</ip>
5 <location>IP地址</location>
6 </product>
7 </smartresult>


有道手机号码归属地API

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

返回格式:

1 <?xmlversion="1.0"encoding="gbk"?>
2 <smartresult>
3 <producttype="mobile">
4 <phonenum>手机号码</phonenum>
5 <location>手机号码归属地</location>
6 </product>
7 </smartresult>


淘宝手机号码归属地API

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

返回格式:

1 __GetZoneResult_ = {
2 mts:'手机号段',
3 province:'省份',
4 catName:'运营商',
5 telString:'手机号码'
6 }


有道身份证信息API
返回格式:

1 <?xmlversion="1.0"encoding="gbk"?>
2 <smartresult>
3 <producttype="identitycard">
4 <code>身份证号码</code>
5 <location>所属地区</location>
6 <birthday>生日</birthday>
7 <gender>性别</gender>
8 </product>
9 </smartresult>


有道城市信息API

http://www.youdao.com/smartresult-xml/search.s?type=zip&q=邮编

http://www.youdao.com/smartresult-xml/search.s?type=zip&q=区号

http://www.youdao.com/smartresult-xml/search.s?type=zip&q=城市名

返回格式:

01 <?xmlversion="1.0"encoding="gbk"?>
02 <smartresult>
03 <producttype="zipcode">
04 <province>省份</province>
05 <city>城市</city>
06 <location>地区</location>
07 <phone>区号</phone>
08 <zipcode>邮编</zipcode>
09 </product>
10 </smartresult>


谷歌地图API
http://www.google.com/apis/maps/

百度地图API
http://developer.baidu.com/map/

SOSO地图API
http://api.map.soso.com

搜狗地图API
http://map.sogou.com/api/

阿里云地图API
http://ditu.aliyun.com/jsdoc/

高德地图API
http://code.autonavi.com/

我要地图API
http://api.51ditu.com/

图吧地图API
http://open.mapbar.com/

爱帮API
http://www.aibang.com/api/
爱帮网提供商户搜索、公交驾乘查询、公交线路查询、公交站点查询、周边公交站点查询等API。

大众点评API
http://developer.dianping.com/
大众点评提供商户搜索、团购搜索、优惠券搜索等API。

快递100API
http://www.kuaidi100.com/openapi/

爱查快递API
http://www.ickd.cn/api/

拉手团购API
http://www.lashou.com/open.php?page=api

美团团购API
http://www.meituan.com/help/api

QQ团购API
http://open.api.tuan.qq.com/

糯米团购API
http://www.nuomi.com/help/api

满座团购API
http://www.manzuo.com/api

58团购API
http://t.58.com/help/api

团800API
http://www.tuan800.com/open_api

百度团购API
http://tuangou.baidu.com/help

船讯网API
http://www.shipxy.com/API
船讯、船舶相关的API。

美图API
http://open.web.meitu.com/
美图网提供美化图片、多图拼贴、头像编辑器等API。

网易短网址API
http://www.126.am/client/api_register_new.jsp

百度短网址API
http://www.baidu.com/search/dwz.html
很多网址无法生成,不推荐使用。

新浪短网址API
http://open.weibo.com/wiki/2/short_url/shorten

face++ API
http://cn.faceplusplus.com/dev/getting-started/core-concept/
face++提供人脸检测、人脸识别、面部分析等API。

Face API
http://www.faceapi.cn/index/show_doc/?model=doc&id=4/
Face API提供人脸检测、人脸识别、器官定位、姿势判断等一整套人脸相关的API。

雅虎天气API

http://weather.yahooapis.com/forecastrss?w=城市代码&u=温度单位

温度单位c是摄氏度,f是华氏度。
城市代码为一串数字,可以通过雅虎天气频道搜索得到:
http://weather.yahoo.com/
漳州天气示例:
http://weather.yahooapis.com/forecastrss?w=2139969&u=c

中国天气网API

http://m.weather.com.cn/data/城市代码.html

城市代码可以通过http://www.weather.com.cn/顶部查询进入相关页面,如输入“漳州”跳转至http://www.weather.com.cn/weather/101230601.shtml,101230601就是漳州的城市代码,API地址即为http://m.weather.com.cn/data/101230601.html
返回格式:

01 {
02 "weatherinfo":
03 {
04 <!--基本信息-->
05 "city":"漳州",
06 "city_en":"zhangzhou",
07 "date_y":"2013年6月5日",
08 "date":"","week":"星期三",
09 "fchh":"18",
10 "cityid":"101230601",
11
12 <!--从今天开始到第六天的天气情况(摄氏温度)-->
13 "temp1":"24℃~31℃","temp2":"24℃~32℃","temp3":"25℃~32℃",
14 "temp4":"24℃~32℃","temp5":"25℃~32℃","temp6":"25℃~31℃",
15
16 <!--从今天开始到第六天的天气情况(华氏温度)-->
17 "tempF1":"75.2℉~87.8℉","tempF2":"75.2℉~89.6℉","tempF3":"77℉~89.6℉",
18 "tempF4":"75.2℉~89.6℉","tempF5":"77℉~89.6℉","tempF6":"77℉~87.8℉",
19
20 <!--从今天开始到第六天的天气描述-->
21 "weather1":"阵雨转多云","weather2":"多云","weather3":"阵雨",
22 "weather4":"阵雨","weather5":"阵雨","weather6":"中雨",
23
24 <!--从今天开始到第六天的天气描述图片序号-->
25 "img1":"3","img2":"1","img3":"1","img4":"99","img5":"3","img6":"99",
26 "img7":"3","img8":"99","img9":"3","img10":"99","img11":"8","img12":"99",
27 "img_single":"1",
28
29 <!--从今天开始到第六天的天气图片名称-->
30 "img_title1":"阵雨","img_title2":"多云","img_title3":"多云","img_title4":"多云",
31 "img_title5":"阵雨","img_title6":"阵雨","img_title7":"阵雨","img_title8":"阵雨",
32 "img_title9":"阵雨","img_title10":"阵雨","img_title11":"中雨","
33 img_title12":"中雨","img_title_single":"多云",
34
35 <!--从今天开始到第六天的风速描述 -->
36 "wind1":"微风","wind2":"微风","wind3":"微风",
37 "wind4":"微风","wind5":"微风","wind6":"微风",
38
39 <!--从今天开始到第六天的风速级别描述 -->
40 "fx1":"微风","fx2":"微风","fl1":"小于3级","fl2":"小于3级","fl3":"小于3级",
41 "fl4":"小于3级","fl5":"小于3级","fl6":"小于3级",
42
43 <!--今日穿衣指数-->
44 "index":"热",
45 "index_d":"天气热,建议着短裙、短裤、短薄外套、T恤等夏季服装。",
46
47 <!--48小时穿衣指数-->
48 "index48":"热",
49 "index48_d":"天气热,建议着短裙、短裤、短薄外套、T恤等夏季服装。",
50
51 <!--紫外线及48小时紫外线-->
52 "index_uv":"中等",
53 "index48_uv":"中等",
54
55 <!--洗车-->
56 "index_xc":"较不宜",
57
58 <!--旅游-->
59 "index_tr":"适宜",
60
61 <!--舒适指数-->
62 "index_co":"较不舒适",
63 "st1":"31","st2":"22","st3":"32","st4":"24","st5":"30","st6":"23",
64
65 <!--晨练-->
66 "index_cl":"适宜",
67
68 <!--晾晒-->
69 "index_ls":"适宜",
70
71 <!--过敏-->
72 "index_ag":"极不易发"
73 }
74 }


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值