srtfisher / automatic
This package is abandoned and no longer maintained.
No replacement package was suggested.
Automatic PHP 5.4+ Library
0.1.0
2014-09-19 03:23 UTC
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: 4.2.*
- illuminate/support: 4.2.*
- league/oauth2-client: 0.3.*
Requires (Dev)
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~4.0
- squizlabs/php_codesniffer: ~1.5
This package is auto-updated.
Last update: 2020-09-24 21:45:34 UTC
README
Automatic as described by their website:
Automatic, your smartphone enabled driving assistant, gives you driving feedback, helps to diagnose check engine codes & more. Become a smarter driver today.
This is an API Library for Automatic. You can signup for a developer application here. The Automatic API is read only for the time being and currently in alpha.
Requirements
PHP 5.4 or later.
Authentication
Automatic uses OAuth 2 for Authentication. This Library uses thephpleague/oauth2-client for OAuth 2.
Install
Via Composer
{ "require": { "srtfisher/automatic": "0.1.*" } }
Usage
See examples in the examples folder.
<?php $client = new Srtfisher\Automatic\Client('client id', 'client secret', 'access token', $redirectUri); $vehicles = $client->vehicles->all(); $vehicle = $client->vehicles->retrieve('vehicle id'); ?>
Todo
- Enable support for write access for when API supports it
Testing
$ phpunit
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.