Geonames is a geographical database with web services that let users extract useful information about different places, such as weather, timezone and post codes. The GeoNames geographical database covers all countries and contains over eight million placenames that are available for download free of charge. Users can edit, correct and add new names using a wiki interface.
Geonames provides a suite of 36 Webservices covering the following categories:
The APIs use RESTful protocol and responses vary in format between XML, JSON, RDF, CSV, TXT, RSS and KML.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.
geopy makes it easy for developers to locate the coordinates of addresses, cities, countries, and landmarks via third-party geocoders and other sources like wikis. geopy currently includes support for six geocoders including Google, Yahoo and Microsoft.