我正在構建一個使用各種API收集關於特定位置信息的混搭網站。我正在尋找一個提供關於某個地方的文本描述的API。我知道freebase text api提供了這個功能,但返回的文本非常短。有沒有人知道任何提供關於某個地點的更詳細信息的API? (維基百科是否有這樣的API?)Places API - 文本說明
0
A
回答
3
freebase文本api(http://wiki.freebase.com/wiki/ApiText)爲您提供了很多維基百科頁面的頂級簡介。 這個針對加拿大的查詢返回約200個單詞。
捲曲https://www.googleapis.com/freebase/v1/text/en/canada
我認爲這是關於該主題的所有該遊離鹼(和DBpedia中)店。要獲取維基百科文章的全文,您可以直接訪問維基百科。
一個基本的查詢API維基百科記錄在這裏:http://www.mediawiki.org/wiki/API
這個查詢將退給你維基百科頁面上加拿大的全部內容:
捲曲「http://en.wikipedia.org /w/api.php?format=xml &行動=查詢&冠軍=加拿大&道具=修訂& rvprop =內容」
你可以在XML,JSON等內容 - 請參閱該文檔。
您在詢問Freebase和Wikipedia,因此您好像對文字描述感興趣。如果您確實對更多地理信息感興趣,則可以查看GeoNames或Google地圖或OpenStreetMap等地圖服務。
相關問題
- 1. 在Google Places API for iOS上顯示地點說明
- 2. 在iOS版Google Places API上返回廣告位置說明
- 3. CAB文件API說明
- 4. Google Places API Places Types
- 5. jQuery - 文本說明懸停
- 6. O365 REST API說明
- 7. Google places Api Key
- 8. Google Places API Places照片
- 9. ActivityRecognitionAPI文檔/說明
- 10. Google Places API subway_station ,?
- 11. Google Places API cors
- 12. 從文本文件獲取說明
- 13. Google Maps Places API
- 14. Google Places API - android
- 15. Google Places API Warning
- 16. Google Places API屬性
- 17. Github API字段說明
- 18. Android API seekToMillis()需要說明
- 19. Neo4j對Python的API說明
- 20. Facebook API:更新組說明
- 21. Android版本說明
- 22. Google Places API Swift
- 23. Google Places API
- 24. Google Places Api Android
- 25. Google Places API地址搜索
- 26. PHP解析文本和說明的SimpleXML
- 27. 關於python腳本文件的說明
- 28. Google Places API錯誤
- 29. 諾基亞Places API?是否有詳細的搜索結果說明?這個API的使用有多重要?
- 30. Google Places API限制