-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Notification on weather hazards such as: lightnings, tornadoes, strong winds, heavy precipitation and low and high air temperatures.
The website burze.dzis.net is created for users who seek for a solution, which can enable them to receive notification on weather hazards such as: lightnings, tornadoes, strong winds, heavy precipitation and low and high air temperatures. The website also offers location storm function.
Packagist.org | Travis-ci.org | Scrutinizer-ci.com
namespace Component\Remote\BurzeDzisNet
{
$burzeDzisNet = new BurzeDzisNet(
new Endpoint(API_KEY)
);
$point = $burzeDzisNet->locate('Wien');
$storm = $burzeDzisNet->getStorm($point, 100);
$alerts = $burzeDzisNet->getWeatherAlert($point);
$frost = $alerts->getAlert('frost');
$heat = $alerts->getAlert('heat');
$wind = $alerts->getAlert('wind');
$storm = $alerts->getAlert('storm');
$tornado = $alerts->getAlert('tornado');
$precipitation = $alerts->getAlert('precipitation');
}
Represents the remote API calls based on the endpoint
Represents the coordinates for the specified locality. According to the list of village on the site.
Represents the result of checking if a given point with a specified radius of monitoring registered lightnings.
Represents the result of checking if a given point, issued weather warnings. Only the Polish area.
[WheaterAlertInterface] (https://github.com/krzysiekpiasecki/BurzeDzisNet/blob/master/src/Component/Remote/BurzeDzisNet/WeatherAlertInterface.php)
Represents the single wheather alert