masterskill / afa-api-laravel
A package for the AFA Code API Integration, that needs to interacts with it's database and existing database
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.2
- spatie/laravel-package-tools: ^1.16
This package is auto-updated.
Last update: 2024-09-27 09:55:09 UTC
README
API v0.2.1 from the AFACodes
Endpoints and functionalities of the Logistic Grid, syntax “CM-$etc”. For Scientific Grid (syntax “CM+$etc”) and covers, see next documentation. We use, instead a Swagger, the “page endpoint” that is self-explanatory.
Installation
With composer
composer require masterskill/afa-code-laravel
City Querying
For querying a city, you should initialize the cityQuery class.
Make sure you have the App\Models\City on the project.
use Masterskill\AfaApiLaravel\Domains\Http\City\CityQuery; $cityQuery = new CityQuery(); $query ="CM-SOA"; $result = $cityQuery->query($query); print_r($cityQuery);