yrizos / theansr
theansr.com API client
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/yrizos/theansr
Requires
- php: >=7.1
- guzzlehttp/guzzle: ~6
- respect/validation: ~1
Requires (Dev)
- phpunit/phpunit: ^7.1
This package is auto-updated.
Last update: 2022-12-23 20:44:33 UTC
README
API documentation: https://github.com/theansr/api
Supported endpoints
GET /accounts/get_balance
POST /calls
POST /sms
Installation
$ composer require yrizos/theansr
Usage
<?php
$client = new \Ansr\Client(
'api_key',
'password'
);
$response = $client->createCall(
'from',
'to',
'answer_url',
);