moji_weather/README.md
imi415 02c21e303e
Initial commit, with real-time condition.
Signed-off-by: imi415 <imi415.public@gmail.com>
2021-05-05 20:20:31 +08:00

12 lines
240 B
Markdown

# Moji Weather API (for Aliyun Cloud Market)
## Usage:
### Condition:
```ruby
condition = MojiWeather::Api::Condition.new app_code: "YOUR_APP_CODE"
pp condition.query location: {lat: 39.95, lon: 116.36}
pp condition.query city_id: 2
```