mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-16 18:03:42 +02:00
- weather: rename postcode => postalcode
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -181,9 +181,9 @@ bool CWeather::GetWeatherDetails()
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CWeather::FindCoords(std::string postcode, std::string country)
|
||||
bool CWeather::FindCoords(std::string postalcode, std::string country)
|
||||
{
|
||||
std::string data = "http://api.openweathermap.org/geo/1.0/zip?zip=" + postcode + "," + country + "&appid=" + key;
|
||||
std::string data = "http://api.openweathermap.org/geo/1.0/zip?zip=" + postalcode + "," + country + "&appid=" + key;
|
||||
JSONCPP_STRING answer;
|
||||
JSONCPP_STRING formattedErrors;
|
||||
Json::CharReaderBuilder builder;
|
||||
|
Reference in New Issue
Block a user