In addition to World Weather Online's weather API, it also provides helper APIs, which sit well on their own. The City Search API allows developers to include city name search in their applications. Query the API by city name and receive a list of potential name matches as results. The free version of the API returns only three results, whereas premium developers can receive up to 50. Any developer can optionally search for only popular cities, have time zone data returned, restrict the number of results and request one of three popular formats (XML, JSON, tab delimited).
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.