yrizos/theansr

This package is abandoned and no longer maintained. No replacement package was suggested.

theansr.com API client

dev-master 2018-06-25 06:40 UTC

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',   
);