Download the PHP package attogram/weatherbit-api-wrapper without Composer
On this page you can find all versions of the php package attogram/weatherbit-api-wrapper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download attogram/weatherbit-api-wrapper
More information about attogram/weatherbit-api-wrapper
Files in attogram/weatherbit-api-wrapper
Download attogram/weatherbit-api-wrapper
More information about attogram/weatherbit-api-wrapper
Files in attogram/weatherbit-api-wrapper
Vendor attogram
Package weatherbit-api-wrapper
Short Description PHP Wrapper for Weatherbit.io API
License MIT
Package weatherbit-api-wrapper
Short Description PHP Wrapper for Weatherbit.io API
License MIT
Please rate this library. Is it a good library?
Informations about the package weatherbit-api-wrapper
weatherbit-api-wrapper
PHP wrapper for Weatherbit.io API
Install
composer require attogram/weatherbit-api-wrapper
- Get an API Key from: https://www.weatherbit.io/
Example Usage
- see public/example.php for an example web form
Functions
public function setKey(string $key)
public function setLanguage(string $languageCode)
public function setUnits(string $unitsCode)
public function setLocationByLatitudeLongitude(string $latitude, string $longitude)
public function setLocationByCityId(string $cityId)
public function setLocationByPostalCode(string $postalCode)
public function setLocationByCityIds(array $cityIds)
public function setLocationByCity(string $city, string $country = '')
public function setLocationByIp(string $ipAddress = 'auto')
public function setLocationByStation(string $weatherStation)
public function setLocationByStations(array $weatherStations)
public function getDailyForecast($days = 10): array
public function getCurrent(): array
public function getUsage(): array
public function getUrl(): string
Project Links
- Github: https://github.com/attogram/weatherbit-api-wrapper/
- Packagist: https://packagist.org/packages/attogram/weatherbit-api-wrapper
- CodeClimate: https://codeclimate.com/github/attogram/weatherbit-api-wrapper
- Travis CI: https://travis-ci.org/attogram/weatherbit-api-wrapper
- Style CI: https://github.styleci.io/repos/244855065
All versions of weatherbit-api-wrapper with dependencies
PHP Build Version
Package Version
Requires
php Version
^7 || ^8
lib-curl Version *
lib-curl Version *
The package attogram/weatherbit-api-wrapper contains the following files
Loading the files please wait ....