Scrape trending places or geo-locations that Twitter allows users to geo-tag Tweets with using the the Official Twitter API Places Search Endpoint.
You’ll need to provide a latitude and longitude, but that’s it, then this endpoint should return trending places. Unfortunately though, it’s only likely to work with already popular locations like major cities. So you may see an empty response if there is nothing trending going on in the location provided at the current time.
This is also an outdated V1 API endpoint, so it’s subject to stop working at any time in favor of the new Twitter API V2 (which we also support).