Yahoo Weather Java API

A Java library for the yahoo weather RSS feed service

Лицензия

Лицензия

Категории

Категории

Java Языки программирования
Группа

Группа

com.github.fedy2
Идентификатор

Идентификатор

yahoo-weather-java-api
Последняя версия

Последняя версия

2.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

Yahoo Weather Java API
A Java library for the yahoo weather RSS feed service
Ссылка на сайт

Ссылка на сайт

https://github.com/fedy2/yahoo-weather-java-api
Система контроля версий

Система контроля версий

https://github.com/fedy2/yahoo-weather-java-api

Скачать yahoo-weather-java-api

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.fedy2/yahoo-weather-java-api/ -->
<dependency>
    <groupId>com.github.fedy2</groupId>
    <artifactId>yahoo-weather-java-api</artifactId>
    <version>2.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.fedy2/yahoo-weather-java-api/
implementation 'com.github.fedy2:yahoo-weather-java-api:2.0.2'
// https://jarcasting.com/artifacts/com.github.fedy2/yahoo-weather-java-api/
implementation ("com.github.fedy2:yahoo-weather-java-api:2.0.2")
'com.github.fedy2:yahoo-weather-java-api:jar:2.0.2'
<dependency org="com.github.fedy2" name="yahoo-weather-java-api" rev="2.0.2">
  <artifact name="yahoo-weather-java-api" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.fedy2', module='yahoo-weather-java-api', version='2.0.2')
)
libraryDependencies += "com.github.fedy2" % "yahoo-weather-java-api" % "2.0.2"
[com.github.fedy2/yahoo-weather-java-api "2.0.2"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.slf4j : slf4j-api jar 1.7.21

runtime (1)

Идентификатор библиотеки Тип Версия
org.slf4j : slf4j-simple jar 1.7.21

Модули Проекта

Данный проект не имеет модулей.

yahoo-weather-java-api Build Status

Current version is not working because the yql service by Yahoo has been dismissed (https://developer.yahoo.com/yql/)

A Java library for the yahoo weather service.

The library is a lightweight wrapper for the Yahoo Weather API (http://developer.yahoo.com/weather/).

The only required dependency is the slf4j-api library.

Usage example:

YahooWeatherService service = new YahooWeatherService();
Channel channel = service.getForecast("2502265", DegreeUnit.CELSIUS);
System.out.println(channel.getDescription());

Dependency declaration:

<dependency>
     <groupId>com.github.fedy2</groupId>
     <artifactId>yahoo-weather-java-api</artifactId>
     <version>2.0.2</version>
</dependency>

Changelog:

* 2.0.2 Fixes time parsing when minutes are not padded.
* 2.0.1 Fixes RFC822 date parsing. Fixed lastBuildDate field parsing.
* 2.0.0 Changed whole implementation to use YQL for querying
* 1.2.0 YahooWeatherService constructor now accepts a Proxy to be used during service connections
* 1.1.0 Updated data model: Atmosphere and Wind numeric values have been replaced by corresponding Classes (int to Integer and float to Float) in order to support "missing" values in Weather system response.
* 1.0.1 fixed issues on Date parsing and local settings
* 1.0.0 first release

Версии библиотеки

Версия
2.0.2
2.0.1
2.0.0
1.2.0
1.1.0
1.0.1
1.0.0