Add METAR interface and use local library for decoding

This commit is contained in:
Nabeel Shahzad
2018-04-02 22:35:25 -05:00
parent 3dba586f83
commit 717118cfb4
16 changed files with 425 additions and 161 deletions

View File

@@ -79,6 +79,7 @@ return [
Igaster\LaravelTheme\themeServiceProvider::class,
Nwidart\Modules\LaravelModulesServiceProvider::class,
Anhskohbo\NoCaptcha\NoCaptchaServiceProvider::class,
Orchestra\Parser\XmlServiceProvider::class,
/*
* Application Service Providers...

View File

@@ -1,10 +0,0 @@
<?php
/**
* For METAR and TAF features, register for an API key at
* https://www.checkwx.com
*/
return [
'url' => 'https://api.checkwx.com',
'api_key' => false,
];

View File

@@ -24,6 +24,12 @@ return [
*/
'currency' => 'USD',
/**
* Point to the class to use to retrieve the METAR string. If this
* goes inactive at some date, it can be replaced
*/
'metar' => App\Services\Metar\AviationWeather::class,
/**
* Your vaCentral API key
*/