hafael / autum-platform-sdk
v0.0.5
2024-02-15 20:51 UTC
Requires
- php: >=5.6
- hafael/php-http-client: ^0.1
Requires (Dev)
- phpunit/phpunit: >=5.5
README
This library provides developers with a simple set of bindings to help you integrate Fitbank API to PHP website project.
π‘ Requirements
PHP 7.3 or higher
𧩠API resources
β = All methods available β = Under development/testing π» = Awaiting contributions
π¦ Installation
First time using Autum? Create your Autum account, if you donβt have one already.
-
Download Composer if not already installed
-
On your project directory run on the command line
composer require "hafael/autum-platform-sdk"
-
Copy the API Key and replace API_KEY with it.
That's it! Autum Platform PHP SDK has been successfully installed.
π Getting Started
Simple usage looks like:
<?php require_once 'vendor/autoload.php'; // You have to require the library from your Composer vendor folder $autumClient = new Autum\SDK\Platform\Client( 'API_KEY', 'BASE_URL', ); //Get authenticated user info $response = $autumClient->users()->getAuthenticatedUser(); var_dump($response->json()); ?>
π Documentation
Visit our Dev Site for further information regarding:
- Autum Platform API Docs: English
π License
MIT license. Copyright (c) 2023 - Rafael / Autum For more information, see the LICENSE file.