程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> 網頁編程 >> PHP編程 >> PHP綜合 >> PHP常用生活應用api接口小結

PHP常用生活應用api接口小結

編輯:PHP綜合

001. 天氣預報接口

city:城市名,傳遞時須做urlencode http://apix.sinaapp.com/weather/?appkey=trialuser&city=深圳
lat:緯度 lng:經度 http://apix.sinaapp.com/weather2/?appkey=trialuser&lat=39.915&lng=116.404

002. 空氣質量指數接口 [20130901]

city:城市名,傳遞時須做urlencode http://apix.sinaapp.com/airquality/?appkey=trialuser&city=深圳

003. 快遞查詢接口 [20130901]

company:快遞公司英文代碼 點擊查看英文代碼列表 number:快遞單號 http://apix.sinaapp.com/express/?appkey=trialuser&company=yuantong&number=3143490877

004. 智能快遞查詢接口 [20130901]

number:快遞單號 http://apix.sinaapp.com/expressauto/?appkey=trialuser& number=3143490877 備注:支持EMS,申通快遞,圓通快遞,中通快遞,匯通快遞,天天快遞,韻達快遞,順豐快遞,宅急送,速爾快遞,德 邦物流,聯昊通物流,全峰快遞,中國郵政,如風達

005. 股票查詢接口 [20130901]

code:股票代碼[通達信代碼] http://apix.sinaapp.com/stock/?appkey=trialuser&code=000063

006. 股票分析接口 [20131004]

code:股票代碼 http://apix.sinaapp.com/stockanalysis/?appkey=trialuser&code=000063

007. 公交線路接口 [20131004]

city:城市名,傳遞時須做urlencode line:線路,傳遞時須做urlencode http://apix.sinaapp.com/busline/?appkey=trailuser&city=深圳&line=209

008. 公交、地鐵換乘接口 [20131004]

city:城市名,傳遞時須做urlencode start:起點,傳遞時須做urlencode end:終點,傳遞時須做urlencode http://apix.sinaapp.com/bus/?appkey=trailuser&city=深圳&start=世界之 窗&end=竹子林

009. 地鐵查詢接口 [20131004]

http://apix.sinaapp.com/subway/?appkey=trialuser

010. 火車查詢 [20131004]

http://apix.sinaapp.com/train/?appkey=trialuser

011. 汽車查詢接口 [20131004]

http://apix.sinaapp.com/coach/?appkey=trialuser

012. 自駕線路 [20131004]

startcity:起點城市,傳遞時須做urlencode startplace:起點地名,傳遞時須做urlencode endcity:終點城市,傳遞時須做urlencode endplace:終點地名,傳遞時須做urlencode http://apix.sinaapp.com/driving/?appkey=trailuser&startcity=北京& startplace=清華大學&endcity=北京&endplace=天安門

013. 出租車費用 [20131004]

city:城市名,傳遞時須做urlencode start:起點,傳遞時須做urlencode end:終點,傳遞時須做urlencode http://apix.sinaapp.com/taxi/?appkey=trailuser&city=北京&start=清華大 學&end=天安門

 014. 航班狀態接口 [20131004]

number:航班號 http://apix.sinaapp.com/flight/?appkey=trialuser&number=ca1111

015. 笑話接口 [20131004]

http://apix.sinaapp.com/joke/?appkey=trialuser

016. 周公解夢接口 [20131004]

content: 夢見內容,傳遞時須做urlencode http://apix.sinaapp.com/dream/?appkey=trialuser&content=老師

017. 中英互譯 [20131104]

content: 翻譯內容,傳遞時須做urlencode http://apix.sinaapp.com/translate/?appkey=trialuser&content=表示

018. 星座運勢接口 [20131104]

name: 星座名,傳遞時須做urlencode http://apix.sinaapp.com/astrology/?appkey=trialuser&name=白羊座

019. 彩票開獎結果接口 [20131104]

name:彩票名稱,傳遞時須做urlencode http://apix.sinaapp.com/lottery/?appkey=trailuser&name=雙色球 備注:支持雙色球, 大樂透,3D,排列3,排列5,七星彩,七樂彩,勝負彩,任選九,六場半全場,四場進球

020. 蘋果IMEI/序列號查詢接口 [20131104]

number: IMEI號或序列號 http://apix.sinaapp.com/apple/?appkey=trialuser&number=358031058974471

021. 百科全書接口 [20131204]

word: 詞條,傳遞時須做urlencode http://apix.sinaapp.com/encyclopedia/?appkey=trialuser&word=微信

022. 圖書介紹 [20131104]

name: 圖書名,傳遞時須做urlencode http://apix.sinaapp.com/book/?appkey=trialuser&name=盜墓筆記

023. 歌曲介紹 [20131104]

name: 音樂名,傳遞時須做urlencode http://apix.sinaapp.com/song/?appkey=trialuser&name=新年好

024. 影片介紹 [20131104]

name: 電影名,傳遞時須做urlencode http://apix.sinaapp.com/movie/?appkey=trialuser&name=龍貓

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

http://apix.sinaapp.com/history/?appkey=trialuser

026. 經濟指標

027. 財經大事

028. 手機充值

http://apix.sinaapp.com/recharge/?appkey=trialuser 備注:騰訊財付通官方網站充值接口,基於微信安全支付

029. 城市團購 [20140104]

city: 城市名,傳遞時須做urlencode,你可以指定一個固定城市 查看支持城市列表 keyword:關鍵字,傳遞時須做urlencode,可為商戶 名、商品名、地址等 http://apix.sinaapp.com/groupon/?appkey=trialuser&city=深圳& keyword=華強北

030. 城市優惠

031. 黃金

032. 白銀

033. 外匯

034. 圖片檢索

035. 視頻檢索

036. 地圖位置服務 [20140104]

lat:緯度 lng:經度 entity:查詢名稱,傳遞時須做urlencode http://apix.sinaapp.com/map/?appkey=trialuser&lat=39.915& lng=116.404&entity=醫院

037. 菜譜 [20140104]

name: 菜譜名稱,傳遞時須做urlencode http://apix.sinaapp.com/recipe/?appkey=trialuser&name=剁椒魚頭

038. 手機號碼歸屬地查詢接口 [20140105]

number: 手機號碼 http://apix.sinaapp.com/mobilephone/?appkey=trialuser&number=13456789000

039. 身份證歸屬查詢查詢接口 [20140105]

number: 15或18位身份證號碼 http://apix.sinaapp.com/idcard/?appkey=trialuser&number=542621201212210003

040. 電視節目表 [20140116]

http://apix.sinaapp.com/tvprogram/?appkey=trialuser

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

http://apix.sinaapp.com/ip/?appkey=trialuser&ip=202.203.208.80

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

http://apix.sinaapp.com/almanac/?appkey=trialuser

043. 疾病查詢 [20140121]

name: 疾病名,傳遞時須做urlencode http://apix.sinaapp.com/illness/?appkey=trailuser&name=感冒

044. 號碼吉凶

045. 郵政編碼

code:郵政編碼 http://apix.sinaapp.com/postcode/?appkey=trailuser&code=518057

046. 產品比價查詢接口 [20140118]

name: 商品名,傳遞時須做urlencode http://apix.sinaapp.com/price/?appkey=trialuser&name=iphone 5s

047. 食物熱量查詢接口 [20140120]

name:食物名 http://apix.sinaapp.com/calorie/?appkey=trailuser&name=雞蛋

048. 人品計算 [20140118]

name: 人名,傳遞時須做urlencode http://apix.sinaapp.com/moral/?appkey=trialuser&name=張三

049. 違章查詢 [20140118]

http://apix.sinaapp.com/peccancy/?appkey=trialuser

050. 藥物查詢 [20140117]

name: 藥物名,傳遞時須做urlencode http://apix.sinaapp.com/medicine/?appkey=trialuser&name=青霉素

051. 周易算命 [20140117]

name: 人名,傳遞時須做urlencode http://apix.sinaapp.com/fortune/?appkey=trailuser&name=張三

052. 機票查詢 [20140118]

http://apix.sinaapp.com/airline/?appkey=trialuser

053. 酒店查詢 [20140119]

http://apix.sinaapp.com/hotel/?appkey=trialuser

054. 駕照模擬考試 [20140119]

http://apix.sinaapp.com/drivingtest/?appkey=trialuser

056. 在線點歌查詢接口 [20140119]

singer: 歌手名,傳遞時須做urlencode song: 歌曲名,傳遞時須做urlencode http://apix.sinaapp.com/music/?appkey=trialuser&singer=鳳凰傳奇& song=最炫民族風

057. 車牌歸屬地吉凶 [20140119]

number:車牌號碼。例如:湘C12345,傳遞時須做urlencode http://apix.sinaapp.com/platenumber/?appkey=trialuser&number=湘C12345

058. 冬吳相對論 [20140120]

number:節目期號 http://apix.sinaapp.com/dongwu/?appkey=trialuser&number=123

059. 每日英語 [20140120]

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

060. 實時路況 [20140120]

http://apix.sinaapp.com/traffic/?appkey=trialuser

061. 菜價查詢 [20140121]

http://apix.sinaapp.com/foodprice/?appkey=trialuser

062. 成語詞典 [20140121]

word:成語名,傳遞時須做urlencode http://apix.sinaapp.com/idiom/?appkey=trailuser&word=方興未艾

 063. 人臉識別接口 [20140315]

picurl:圖片地址,傳遞時須做urlencode http://apix.sinaapp.com/face/?appkey=trialuser&picurl=http://www.ineiyi.com/uploads/allimg/1312/79-131213142315.jpg

 064. 四六級成績查詢接口 [20140317]

http://apix.sinaapp.com/cet/?appkey=trialuser

*
  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved