Are there any special parameters needed to collect weather information from international cities?

  • 1
  • Question
  • Updated 12 months ago
  • (Edited)
I am trying to collect historical weather information for Chinese cities.  An example API call I am making to do this follows (I am trying to get historical information for Shanghai):

All that returns is some descriptive information of the city and nothing pertaining to weather.

A call like this works for US cities (I successfully ran it for San Fransico), but do I need special parameters for international cities?



Photo of Hunter Priniski

Hunter Priniski

  • 2 Posts
  • 0 Reply Likes

Posted 12 months ago

  • 1
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 122 Reply Likes
Unfortunately we have 2 city locations for Shanghai.  Take the "l" variable and use that to make the full URL when there are multiple cities returned: