码迷,mamicode.com
首页 > 其他好文 > 详细

(转)接口100

时间:2014-05-28 09:35:32      阅读:414      评论:0      收藏:0      [点我收藏+]

标签:c   class   blog   code   java   tar   

关键字:微信公众平台 微接口 接口100 API100 接口大全 
作者:方倍工作室
 

在本文中,我们列出微信公众平台上可以使用的API接口以及举例如何在微信公众平台调用这些接口实现相应的功能。

接口调用说明:
① Appkey请使用的微信公众号,不要使用默认的trailuser
② 接口返回类型为文本、图文、及音乐三种基本消息
③ 请在所有消息底部主动加上“技术支持 方倍工作室”
④ JSON验证网址 http://pro.jsonlint.com/
⑤ 接口将不定期增加或更新,欢迎指出错误
⑥ 如果有想要实现的,请在下面评论中列出并提供数据来源
⑦ 提供的例子为天气、笑话、点歌功能,其他接口可以同样的调用
⑧ 每个IP每天免费最大调用次数为1000次,尽量不要使用公用IP,如SAE或BAE
⑨ SAE每日运行需要开支,欢迎主动付费使用,付费用户功能上将不受任何限制
⑩ 不必费尽心思使用虚假的appkey,它仅为统计使用,真实appkey能得到更快更好的程序响应
?
?
?
?
?
?
?
?
?
?

 

 

001. 天气预报接口 [20130901]

bubuko.com,布布扣
city:城市名,传递时须做urlencode
http://apix.sinaapp.com/weather/?appkey=trialuser&city=%E6%B7%B1%E5%9C%B3
bubuko.com,布布扣

002. 空气质量指数接口 [20130901]

bubuko.com,布布扣
city:城市名,传递时须做urlencode
http://apix.sinaapp.com/airquality/?appkey=trialuser&city=%E6%B7%B1%E5%9C%B3
bubuko.com,布布扣

003. 快递查询接口 [20130901]

bubuko.com,布布扣
company:快递公司英文代码 点击查看英文代码列表
number:快递单号
http://apix.sinaapp.com/express/?appkey=trialuser&company=yuantong&number=3143490877
bubuko.com,布布扣

004. 智能快递查询接口 [20130901]

bubuko.com,布布扣
number:快递单号
http://apix.sinaapp.com/expressauto/?appkey=trialuser&number=3143490877
备注:支持EMS,申通快递,圆通快递,中通快递,汇通快递,天天快递,韵达快递,顺丰快递,宅急送,速尔快递,德邦物流,联昊通物流,全峰快递,中国邮政,如风达
bubuko.com,布布扣

005. 股票查询接口 [20130901]

bubuko.com,布布扣
code:股票代码[通达信代码]
http://apix.sinaapp.com/stock/?appkey=trialuser&code=000063
bubuko.com,布布扣

006. 股票分析接口 [20131004]

bubuko.com,布布扣
code:股票代码
http://apix.sinaapp.com/stockanalysis/?appkey=trialuser&code=000063
bubuko.com,布布扣

007. 公交线路接口 [20131004]

bubuko.com,布布扣
city:城市名,传递时须做urlencode
line:线路,传递时须做urlencode
http://apix.sinaapp.com/busline/?appkey=trailuser&city=%E6%B7%B1%E5%9C%B3&line=209
bubuko.com,布布扣

008. 公交、地铁换乘接口 [20131004]

bubuko.com,布布扣
city:城市名,传递时须做urlencode
start:起点,传递时须做urlencode
end:终点,传递时须做urlencode
http://apix.sinaapp.com/bus/?appkey=trailuser&city=%E6%B7%B1%E5%9C%B3&start=%E4%B8%96%E7%95%8C%E4%B9%8B%E7%AA%97&end=%E7%AB%B9%E5%AD%90%E6%9E%97
bubuko.com,布布扣

009. 地铁查询接口 [20131004]

bubuko.com,布布扣
http://apix.sinaapp.com/subway/?appkey=trialuser
bubuko.com,布布扣

010. 火车查询 [20131004]

bubuko.com,布布扣
http://apix.sinaapp.com/train/?appkey=trialuser
bubuko.com,布布扣

011. 汽车查询接口 [20131004]

bubuko.com,布布扣
http://apix.sinaapp.com/coach/?appkey=trialuser
bubuko.com,布布扣

012. 自驾线路 [20131004]

bubuko.com,布布扣
startcity:起点城市,传递时须做urlencode
startplace:起点地名,传递时须做urlencode
endcity:终点城市,传递时须做urlencode
endplace:终点地名,传递时须做urlencode
http://apix.sinaapp.com/driving/?appkey=trailuser&startcity=%E5%8C%97%E4%BA%AC&startplace=%E6%B8%85%E5%8D%8E%E5%A4%A7%E5%AD%A6&endcity=%E5%8C%97%E4%BA%AC&endplace=%E5%A4%A9%E5%AE%89%E9%97%A8
bubuko.com,布布扣

013. 出租车费用 [20131004]

bubuko.com,布布扣
city:城市名,传递时须做urlencode
start:起点,传递时须做urlencode
end:终点,传递时须做urlencode
http://apix.sinaapp.com/taxi/?appkey=trailuser&city=%E5%8C%97%E4%BA%AC&start=%E6%B8%85%E5%8D%8E%E5%A4%A7%E5%AD%A6&end=%E5%A4%A9%E5%AE%89%E9%97%A8
bubuko.com,布布扣

 014. 航班状态接口 [20131004]

bubuko.com,布布扣
number:航班号
http://apix.sinaapp.com/flight/?appkey=trialuser&number=ca1111
bubuko.com,布布扣

015. 笑话接口 [20131004]

bubuko.com,布布扣
http://apix.sinaapp.com/joke/?appkey=trialuser
bubuko.com,布布扣

016. 周公解梦接口 [20131004]

bubuko.com,布布扣
content: 梦见内容,传递时须做urlencode
http://apix.sinaapp.com/dream/?appkey=trialuser&content=%E8%80%81%E5%B8%88
bubuko.com,布布扣

017. 中英互译 [20131104]

bubuko.com,布布扣
content: 翻译内容,传递时须做urlencode
http://apix.sinaapp.com/translate/?appkey=trialuser&content=%E8%A1%A8%E7%A4%BA
bubuko.com,布布扣

018. 星座运势接口 [20131104]

bubuko.com,布布扣
name: 星座名,传递时须做urlencode
http://apix.sinaapp.com/astrology/?appkey=trialuser&name=%E7%99%BD%E7%BE%8A%E5%BA%A7
bubuko.com,布布扣

019. 彩票开奖结果接口 [20131104]

bubuko.com,布布扣
name:彩票名称,传递时须做urlencode
http://apix.sinaapp.com/lottery/?appkey=trailuser&name=%E5%8F%8C%E8%89%B2%E7%90%83
备注:支持双色球,大乐透,3D,排列3,排列5,七星彩,七乐彩,胜负彩,任选九,六场半全场,四场进球
bubuko.com,布布扣

020. 苹果IMEI/序列号查询接口 [20131104]

bubuko.com,布布扣
number: IMEI号或序列号
http://apix.sinaapp.com/apple/?appkey=trialuser&number=358031058974471
bubuko.com,布布扣

021. 百科全书接口 [20131204]

bubuko.com,布布扣
word: 词条,传递时须做urlencode
http://apix.sinaapp.com/encyclopedia/?appkey=trialuser&word=%e5%be%ae%e4%bf%a1
bubuko.com,布布扣

022. 图书介绍 [20131104]

bubuko.com,布布扣
name: 图书名,传递时须做urlencode
http://apix.sinaapp.com/book/?appkey=trialuser&name=%E7%9B%97%E5%A2%93%E7%AC%94%E8%AE%B0
bubuko.com,布布扣

023. 歌曲介绍 [20131104]

bubuko.com,布布扣
name: 音乐名,传递时须做urlencode
http://apix.sinaapp.com/song/?appkey=trialuser&name=%E6%96%B0%E5%B9%B4%E5%A5%BD
bubuko.com,布布扣

024. 影片介绍 [20131104]

bubuko.com,布布扣
name: 电影名,传递时须做urlencode
http://apix.sinaapp.com/movie/?appkey=trialuser&name=%E9%BE%99%E7%8C%AB
bubuko.com,布布扣

025. 历史上的今天接口 [20140104]

bubuko.com,布布扣
http://apix.sinaapp.com/history/?appkey=trialuser
bubuko.com,布布扣

026. 经济指标

027. 财经大事

028. 手机充值

bubuko.com,布布扣
http://apix.sinaapp.com/recharge/?appkey=trialuser
备注:腾讯财付通官方网站充值接口,基于微信安全支付
bubuko.com,布布扣

029. 城市团购 [20140104]

bubuko.com,布布扣
city: 城市名,传递时须做urlencode,你可以指定一个固定城市 查看支持城市列表
keyword:关键字,传递时须做urlencode,可为商户名、商品名、地址等
http://apix.sinaapp.com/groupon/?appkey=trialuser&city=%E6%B7%B1%E5%9C%B3&keyword=%E5%8D%8E%E5%BC%BA%E5%8C%97
bubuko.com,布布扣

030. 城市优惠

031. 黄金

032. 白银

033. 外汇

034. 图片检索

035. 视频检索

036. 地图位置服务 [20140104]

bubuko.com,布布扣
lat:纬度
lng:经度
entity:查询名称,传递时须做urlencode
http://apix.sinaapp.com/map/?appkey=trialuser&lat=39.915&lng=116.404&entity=%E5%8C%BB%E9%99%A2
bubuko.com,布布扣

037. 菜谱 [20140104]

bubuko.com,布布扣
name: 菜谱名称,传递时须做urlencode
http://apix.sinaapp.com/recipe/?appkey=trialuser&name=%E5%89%81%E6%A4%92%E9%B1%BC%E5%A4%B4
bubuko.com,布布扣

038. 手机号码归属地查询接口 [20140105]

bubuko.com,布布扣
number: 手机号码
http://apix.sinaapp.com/mobilephone/?appkey=trialuser&number=13456789000
bubuko.com,布布扣

039. 身份证归属查询查询接口 [20140105]

bubuko.com,布布扣
number: 15或18位身份证号码
http://apix.sinaapp.com/idcard/?appkey=trialuser&number=542621201212210003
bubuko.com,布布扣

040. 电视节目表 [20140116]

bubuko.com,布布扣
http://apix.sinaapp.com/tvprogram/?appkey=trialuser
bubuko.com,布布扣

041. IP地址查询接口 [20140116]

bubuko.com,布布扣
http://apix.sinaapp.com/ip/?appkey=trialuser&ip=202.203.208.80
bubuko.com,布布扣

042. 每日宜忌查询接口 [20140116]

bubuko.com,布布扣
http://apix.sinaapp.com/almanac/?appkey=trialuser
bubuko.com,布布扣

043. 疾病查询 [20140121]

bubuko.com,布布扣
name: 疾病名,传递时须做urlencode
http://apix.sinaapp.com/illness/?appkey=trailuser&name=%E6%84%9F%E5%86%92
bubuko.com,布布扣

044. 号码吉凶

045. 邮政编码

bubuko.com,布布扣
code:邮政编码
http://apix.sinaapp.com/postcode/?appkey=trailuser&code=518057
bubuko.com,布布扣

046. 产品比价查询接口 [20140118]

bubuko.com,布布扣
name: 商品名,传递时须做urlencode
http://apix.sinaapp.com/price/?appkey=trialuser&name=iphone%205s
bubuko.com,布布扣

047. 食物热量查询接口 [20140120]

bubuko.com,布布扣
name:食物名
http://apix.sinaapp.com/calorie/?appkey=trailuser&name=%E9%B8%A1%E8%9B%8B
bubuko.com,布布扣

048. 人品计算 [20140118]

bubuko.com,布布扣
name: 人名,传递时须做urlencode
http://apix.sinaapp.com/moral/?appkey=trialuser&name=%E5%BC%A0%E4%B8%89
bubuko.com,布布扣

049. 违章查询 [20140118]

bubuko.com,布布扣
http://apix.sinaapp.com/peccancy/?appkey=trialuser
bubuko.com,布布扣

050. 药物查询 [20140117]

bubuko.com,布布扣
name: 药物名,传递时须做urlencode
http://apix.sinaapp.com/medicine/?appkey=trialuser&name=%E9%9D%92%E9%9C%89%E7%B4%A0
bubuko.com,布布扣

051. 周易算命 [20140117]

bubuko.com,布布扣
name: 人名,传递时须做urlencode
http://apix.sinaapp.com/fortune/?appkey=trailuser&name=%E5%BC%A0%E4%B8%89
bubuko.com,布布扣

052. 机票查询 [20140118]

bubuko.com,布布扣
http://apix.sinaapp.com/airline/?appkey=trialuser
bubuko.com,布布扣

053. 酒店查询 [20140119]

bubuko.com,布布扣
http://apix.sinaapp.com/hotel/?appkey=trialuser
bubuko.com,布布扣

054. 驾照模拟考试 [20140119]

bubuko.com,布布扣
http://apix.sinaapp.com/drivingtest/?appkey=trialuser
bubuko.com,布布扣

056. 在线点歌查询接口 [20140119]

bubuko.com,布布扣
singer: 歌手名,传递时须做urlencode
song: 歌曲名,传递时须做urlencode
http://apix.sinaapp.com/music/?appkey=trialuser&singer=%E5%87%A4%E5%87%B0%E4%BC%A0%E5%A5%87&song=%E6%9C%80%E7%82%AB%E6%B0%91%E6%97%8F%E9%A3%8E
bubuko.com,布布扣

057. 车牌归属地吉凶 [20140119]

bubuko.com,布布扣
number:车牌号码。例如:湘C12345,传递时须做urlencode
http://apix.sinaapp.com/platenumber/?appkey=trialuser&number=%E6%B9%98C12345
bubuko.com,布布扣

058. 冬吴相对论 [20140120]

bubuko.com,布布扣
number:节目期号
http://apix.sinaapp.com/dongwu/?appkey=trialuser&number=123
bubuko.com,布布扣

059. 每日英语 [20140120]

bubuko.com,布布扣
type:类型,目前支持translation, listening
http://apix.sinaapp.com/daily/?appkey=trailuser&type=translation
bubuko.com,布布扣

060. 实时路况 [20140120]

bubuko.com,布布扣
http://apix.sinaapp.com/traffic/?appkey=trialuser
bubuko.com,布布扣

061. 菜价查询 [20140121]

bubuko.com,布布扣
http://apix.sinaapp.com/foodprice/?appkey=trialuser
bubuko.com,布布扣

062. 成语词典 [20140121]

bubuko.com,布布扣
word:成语名,传递时须做urlencode
http://apix.sinaapp.com/idiom/?appkey=trailuser&word=%E6%96%B9%E5%85%B4%E6%9C%AA%E8%89%BE
bubuko.com,布布扣

 063. 人脸识别接口 [20140315]

bubuko.com,布布扣
picurl:图片地址,传递时须做urlencode
http://apix.sinaapp.com/face/?appkey=trialuser&picurl=http://www.ineiyi.com/uploads/allimg/1312/79-131213142315.jpg
bubuko.com,布布扣

 064. 四六级成绩查询接口 [20140317]

bubuko.com,布布扣
http://apix.sinaapp.com/cet/?appkey=trialuser
bubuko.com,布布扣

 

转自:http://www.cnblogs.com/txw1958/p/weixin-api100.html

(转)接口100,布布扣,bubuko.com

(转)接口100

标签:c   class   blog   code   java   tar   

原文地址:http://www.cnblogs.com/cheng5x/p/3755292.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!