final String FORECAST_BASE_URL =
"http://api.openweathermap.org/data/2.5/forecast/daily?";
final String QUERY_PARAM = "q";
Hello. I'm making a weather forecast app. But when I use "http://openweathermap.org"'s API, I stock in trouble how can I get the city code or ID "q"? I try to find the city ID but I can't.
Example code Call by city ID:
api.openweathermap.org/data/2.5/forecast/daily?id=524901
and I heard that "q" is used to "id" also. I mean
api.openweathermap.org/data/2.5/forecast/daily?q=524901
is also possible. i want to do like this.
So, How to find city id? Anybody knows?