实用API大全
来源:互联网 发布:mysql更新字段值 编辑:程序博客网 时间:2024/06/05 01:22
有道翻译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
<?
xml
version
=
"1.0"
encoding
=
"gbk"
?>
2
<
smartresult
>
3
<
product
type
=
"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
<?
xml
version
=
"1.0"
encoding
=
"gbk"
?>
2
<
smartresult
>
3
<
product
type
=
"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
<?
xml
version
=
"1.0"
encoding
=
"gbk"
?>
2
<
smartresult
>
3
<
product
type
=
"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
<?
xml
version
=
"1.0"
encoding
=
"gbk"
?>
02
<
smartresult
>
03
<
product
type
=
"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
}
- 实用API大全
- 实用API大全
- Path API大全(转)--极其实用
- 实用API
- 实用API
- API大全
- API 大全
- API大全
- Eclipse 实用快捷键大全
- Eclipse实用快捷键大全
- Eclipse 实用快捷键大全
- javascript实用代码大全
- 实用查询网址大全
- 实用js大全
- Eclipse实用快捷键大全
- javascript实用代码大全
- Eclipse 实用快捷键大全
- javascript实用代码大全
- mysql两个字段相同的表联合查询(union的使用)
- HashMap的源码解读
- .bat脚本将windows server 2008设置成ntp时间同步服务器
- SYN Flood DOS Attack with C Source Code (Linux)
- alarm函数详解
- 实用API大全
- hdu 2955 Robberies 01背包变形
- uboot中nand详细分析(一)
- hibernate one-to-many many-to-one 双向注解
- #号无法正常传输的解决方法
- 设计模式详解(总纲)
- CSS中怎么让DIV居中
- linux 下创建动态链接库的一个很简单的例子
- java 先进先出