SDK for POSTRADAR.RU API
This open-source library allows you to integrate postradar.ru into your application.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
php ( >=5.6 ), curl
- Run composer require command in command line in project directory
~/your/project/directory$ composer require postradar/php-sdk dev-master
- Clear cache of your application
-
Get apiKey in https://office.postradar.ru
-
Create instance of ApiClient with url http://postradar.ru and your api key
$client = new new \PostRadar\ApiClient($apiKey);
- Call ApiClient object methods
$result = $client->profile();
This project is licensed under the GPL-3.0 License