Start work on fetching weather
This commit is contained in:
parent
4567adf91b
commit
5ffc1b8b0c
4 changed files with 25 additions and 0 deletions
9
Weather.h
Normal file
9
Weather.h
Normal 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();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue