Start work on fetching weather

This commit is contained in:
Robert Marshall 2018-09-22 10:39:57 +01:00
parent 4567adf91b
commit 5ffc1b8b0c
4 changed files with 25 additions and 0 deletions

9
Weather.h Normal file
View file

@ -0,0 +1,9 @@
#define WEATHER_URL "https://api.openweathermap.org/data/2.5/weather?lat=%s&lon=%s&appid=%s"
class Weather{
char _url[100];
public:
Weather(char *lat, char *lon);
void update();
};