Yahoo GeoPlanet (WOEID) Example in Python
I wrote a small function that someone might find useful. It just simply passes a string to Yahoo's GeoPlanet service and returns the WOEID and location name. It relies on the request library and pulls the app id from Django settings, but that can obviously be easily adjusted.
This little snippet will be useful for finding the correct value to pass Twitter for their location based API calls.
https://gist.github.com/4115787












