Download the PHP package baspa/buienradar-php-api without Composer
On this page you can find all versions of the php package baspa/buienradar-php-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download baspa/buienradar-php-api
More information about baspa/buienradar-php-api
Files in baspa/buienradar-php-api
Package buienradar-php-api
Short Description PHP package to provide fluent syntax for the Buienradar API
License MIT
Homepage https://github.com/baspa/buienradar-php-api
Informations about the package buienradar-php-api
Buienradar PHP API
This framework-agnostic PHP package provides a fluent syntax to interact with the Buienradar API.
Installation
You can install the package via composer:
Usage
Initialization
Create an instance of the Buienradar
class:
Get the actual forecast report
Get the short-term forecast
Get the long-term forecast
Get the forecast for the upcoming 5 days
Get the forecast for one specific day
If you want to get the forecast for a specific day, you can use the forDay
method. The parameter is the day you want to get the forecast for, where 0 is today, 1 is tomorrow, and so on. The maximum value is 4.
Get the actual forecast for a specific measurement station
Choose either one of the following measuring stations:
- Meetstation Arcen
- Meetstation Arnhem
- Meetstation Berkhout
- Meetstation De Bilt
- Meetstation Den Helder
- Meetstation Eindhoven
- Meetstation Ell
- Meetstation Gilze Rijen
- Meetstation Goes
- Meetstation Groenlo-Hupsel
- Meetstation Groningen
- Meetstation Heino
- Meetstation Herwijnen
- Meetstation Hoek van Holland
- Meetstation Hoogeveen
- Meetstation Hoorn Terschelling
- Meetstation Houtribdijk
- Meetstation IJmuiden
- Meetstation Lauwersoog
- Meetstation Leeuwarden
- Meetstation Lelystad
- Meetstation Lopik-Cabauw
- Meetstation Maastricht
- Meetstation Marknesse
- Meetstation Nieuw Beerta
- Meetstation Rotterdam
- Meetstation Rotterdam Geulhaven
- Meetstation Schiphol
- Meetstation Stavoren
- Meetstation Texelhors
- Meetstation Twente
- Meetstation Vlieland
- Meetstation Vlissingen
- Meetstation Volkel
- Meetstation Voorschoten
- Meetstation Westdorpe
- Meetstation Wijdenes
- Meetstation Wijk aan Zee
- Meetstation Woensdrecht
- Meetstation Zeeplatform F-3
For example, to get the forecast for the Volkel station, use:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Baspa
- All Contributors
License
The MIT License (MIT). Please see License File for more information.