-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from pawkakol1/new-feature/station-id-support
New feature/station id support
- Loading branch information
Showing
9 changed files
with
309 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,41 @@ | ||
{ | ||
"config": { | ||
"error": { | ||
"invalid_token": "Invalid token", | ||
"unknow_station_id": "WAQI API doesn't support this station ID", | ||
"server_error": "Server error", | ||
"server_not_available": "Server is not available", | ||
"invalid_station_name": "Invalid station name" | ||
}, | ||
"step": { | ||
"user": { | ||
"title": "Choose station adding method WAQI", | ||
"description": "Choose station adding method WAQI, what you preffered: using geographic localization or using station ID", | ||
"data": { | ||
"name": "Name of service", | ||
"token": "Token key of World's Air Quality Index account", | ||
"latitude": "Latitude of station or site", | ||
"longitude": "Longitude of station or site", | ||
"geographic_localization": "Geographic localization", | ||
"station_id": "Station ID", | ||
"scan_interval": "Scan interval of station updating" | ||
} | ||
}, | ||
"geographic_localization": { | ||
"title": "Add WAQI station using grographic localization", | ||
"description": "Fill your WAQI token, latitude and longitude of your station or home, and optionally custom name for service instace. You can find WAQI token here https://aqicn.org/data-platform/token/", | ||
"data": { | ||
"token": "Token key of World's Air Quality Index account", | ||
"latitude": "Latitude of station", | ||
"longitude": "Longitude of station", | ||
"name": "Name of service" | ||
} | ||
}, | ||
"station_id": { | ||
"title": "Add WAQI station using ID", | ||
"description": "Fill your WAQI token, id of your station (without @ prefix) and optionally custom name for service instace. You can find WAQI token here https://aqicn.org/data-platform/token/", | ||
"data": { | ||
"token": "Token key of World's Air Quality Index account", | ||
"id": "Station ID", | ||
"name": "Name of service" | ||
} | ||
} | ||
}, | ||
"error": { | ||
"invalid_token": "Invalid token", | ||
"invalid_station_name": "Invalid station name" | ||
} | ||
} | ||
} |
Oops, something went wrong.