Welcome to woeid’s documentation!¶
A Python interface for Yahoo GeoPlanet Web Services REST APIs. Python 2 and 3 are all supported!
- Installation & Testing
- Getting Started
- Example 1: Create an
- Example 2: Retrieving the Most Likely Place for a Given Place Name’
- Example 3: Retrieving the Five Most Likely Places for a Given Placename’
- Example 4: Retrieving All Places for a Given
- Example 5: Retrieving Places That Have the Given
- Example 6: Retrieving a Place Using a Given
- Example 7: Retrieving a Place with a Given
woeid, in short Representation
- Example 8: Retrieving the Parent Place of a Given
woeid, as a
- Example 9. Retrieving the Ancestors for a Given
- Example 10. Retrieving a Place That is a
commonAncestor of Two Places’
- Example 11. Retrieving a Place That is
commonAncestor of Three Places’
- Example 12. Retrieving All Continents’
- Example 13. Retrieving the Seas Adjacent to or Part of the Pacific Ocean’
- Example 14. Retrieving the Countries Within North America (NA)’
- Example 15. Retrieving the States Within the United States (US)’
- Example 16. Retrieving the Districts of Greater London’
- Example 17. Retrieving the WOEID and FIPs Code for a Given ISO Code’
- Example 18. Retrieving a Partial Collection of Place Types’
- Example 1: Create an
- Modules Documentation
- About me
This library provides a pure Python interface for the Yahoo GeoPlanet API. It works with Python 2.7+ and Python 3.
Yahoo! GeoPlanetTM is designed to bridge the gap between the Real and Virtual worlds by providing the Internet with an open, comprehensive, and intelligent infrastructure for geo-referencing data on Earth’s surface.
In practical terms, Yahoo! GeoPlanet is a resource for managing all geo-permanent named places on earth. It provides the Geographic Developer Community with the vocabulary and grammar to describe the world’s geography in an unequivocal, permanent, and language-neutral manner, and is designed to facilitate spatial interoperability and geographic discovery. Developers looking to geo-enable their applications can use GeoPlanet to traverse the spatial hierarchy, identify the geography relevant to their users and their business, and in turn, unambiguously geotag, geotarget, and geolocate data across the Web.