osi-open-source / warcott-client
Warcott API client
Installs: 1 185
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=7.1.0
- guzzlehttp/guzzle: *
- illuminate/support: >=5.5.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-10-26 07:23:15 UTC
README
- Client - consumes API
- Fieldsets
- Mapping
- Fields
Installation
Simply add the following line to your composer.json
and run install/update:
"osi-open-source/warcott-client": "*"
Configuration
Publish the package config files to enter your credentials
php artisan vendor:publish --tag=warcott
Usage
You can use Facade, alias or helper functions
\Warcott\Support\Facades\WarcottClient::getDataset(['domainKey']); \WarcottClient::getDataset(['domainKey']); warcottDataset([]); \Warcott\Support\Facades\WarcottClient::getMapping('domainKey', $data); \WarcottClient::getMapping('domainKey', $data); warcottMap('domainKey', $data)