Do you know of a web site that has a json file I can download that contains the following data:

City Name or postcode
latitude in degrees
longitude in degrees
How many hours +- the city is from GMT (Ex: Boston is -5)

Nice to have but not required:
daylight savings time (Yes or No). Ex: Boston, Massachusetts uses daylight savings time and Phoenix, Arizona does not.

For now I'm looking to get the data for cities in the US. I will add other countries later if the web resource has multiple countries.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.