Fixed docs.

This commit is contained in:
imi415 2021-05-05 21:18:30 +08:00
parent 93ebdfcb98
commit 89798c0fee
Signed by: imi415
GPG Key ID: 17F01E106F9F5E0A
1 changed files with 3 additions and 3 deletions

View File

@ -9,6 +9,6 @@ result = client.query MojiWeather::Api::ApiType::AQI, location: {lat: 39.95, lon
result = client.query MojiWeather::Api::ApiType::AQI, city_id: 2
```
`ApiType` has the following possible values (more is WIP):
* `MojiWeather::Api::ApiType::CONDITION`: Real-time condition
* `MojiWeather::Api::ApiType::FORECAST_24HRS`: 24-hour forecast
* `MojiWeather::Api::ApiType::AQI`: Air quality index(AQI)
* `MojiWeather::Api::ApiType::CONDITION`: Real-time condition
* `MojiWeather::Api::ApiType::FORECAST_24HRS`: 24-hour forecast
* `MojiWeather::Api::ApiType::AQI`: Air quality index(AQI)