postradar / php-sdk
postradar.ru API client
1.0.1
2017-06-19 14:35 UTC
Requires
- php: >=5.6
- ext-curl: *
- rollbar/rollbar: dev-master
Requires (Dev)
This package is not auto-updated.
Last update: 2024-04-27 18:04:33 UTC
README
This open-source library allows you to integrate postradar.ru into your application.
Getting Started
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.
Prerequisites
php ( >=5.6 ), curl
Installing
- 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
Using
-
Get apiKey in https://office.postradar.ru
-
Create instance of ApiClient with url http://postradar.ru and your api key
$client = new \PostRadar\ApiClient($apiKey);
- Call ApiClient object methods
$result = $client->profile();
License
This project is licensed under the GPL-3.0 License