Add METAR interface and use local library for decoding
This commit is contained in:
@@ -79,6 +79,7 @@ return [
|
||||
Igaster\LaravelTheme\themeServiceProvider::class,
|
||||
Nwidart\Modules\LaravelModulesServiceProvider::class,
|
||||
Anhskohbo\NoCaptcha\NoCaptchaServiceProvider::class,
|
||||
Orchestra\Parser\XmlServiceProvider::class,
|
||||
|
||||
/*
|
||||
* Application Service Providers...
|
||||
|
||||
@@ -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,
|
||||
];
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user