https://github.com/xsavikx/openweathermap-java-api
Java API to access openweathermap.org API
https://github.com/xsavikx/openweathermap-java-api
api-client java openweathermap-api
Last synced: about 1 year ago
JSON representation
Java API to access openweathermap.org API
- Host: GitHub
- URL: https://github.com/xsavikx/openweathermap-java-api
- Owner: xSAVIKx
- License: apache-2.0
- Created: 2016-03-22T15:28:57.000Z (over 10 years ago)
- Default Branch: development
- Last Pushed: 2021-06-20T20:48:03.000Z (about 5 years ago)
- Last Synced: 2023-08-04T18:59:09.206Z (almost 3 years ago)
- Topics: api-client, java, openweathermap-api
- Language: Java
- Homepage:
- Size: 4.18 MB
- Stars: 20
- Watchers: 4
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
openweathermap-java-api
[![Build Status][ci-badge]][ci-link]
[![codecov][codecov-badge]][codecov-link]
=====
To use the OpenweatherMap API, you need to obtain an API key. Sign up [here][openweathermap-signup].
[openweathermap-signup]: http://home.openweathermap.org/users/sign_up
# Features
## Current weather queries
### Call current weather data for one location
- By city name
- By city ID
- By ZIP code
- By geographic coordinates
### Call current weather data for several cities
- Cities within a rectangle zone
- Cities in cycle
- Call for several city IDs
## Forecast queries
### Call 5 day / 3 hour forecast data
- By city name
- By city ID
- By geographic coordinates
### Call 16 day / daily forecast data
- By city name
- By city ID
- By geographic coordinates
## Supported Languages
ENGLISH("en"),
RUSSIAN("ru"),
ITALIAN("it"),
SPANISH("sp"),
UKRAINIAN("ua"),
GERMAN("de"),
PORTUGUESE("pt"),
ROMANIAN("ro"),
POLISH("pl"),
FINNISH("fi"),
DUTCH("nl"),
FRENCH("fr"),
BULGARIAN("bg"),
SWEDISH("sv"),
CHINESE_TRADITIONAL("zh_tw"),
CHINESE_SIMPLIFIED("zh_cn"),
TURKISH("tr"),
CROATIAN("hr"),
CATALAN("ca");
## Supported formats
- JSON (result as String or as WeatherInfo object)
- XML (result only as String now)
- HTML (result only as String)
## Supported Units format
- Standard
- Metric
- Imperial
More information about weather parameters and unit can be
found [here](http://openweathermap.org/weather-data).
## Examples
Take a look at [examples module](./api-examples)
[ci-badge]: https://github.com/xSAVIKx/openweathermap-java-api/actions/workflows/ci.yaml/badge.svg
[ci-link]: https://github.com/xSAVIKx/openweathermap-java-api/actions/workflows/ci.yaml
[codecov-badge]: https://codecov.io/gh/xSAVIKx/openweathermap-java-api/branch/development/graph/badge.svg
[codecov-link]: https://codecov.io/gh/xSAVIKx/openweathermap-java-api