API-Intis
view release on metacpan or search on metacpan
API/Intis/README.mkdn view on Meta::CPAN
*Note: list if additional options. [Look list of methods](#aviable-methods).*
The names of the method are the name .php file
The response object contains the following attributes:
* Request is in the form of JSON
```perl
$ballance->{request_json};
```
* Request is in the form of XML
```perl
$ballance->{request_xml};
```
* Requested text description of the error
```perl
$ballance->{error};
```
* Requested hash
```perl
$ballance->{request_object};
```
* Requested outgoing format
```perl
$ballance->{out_format};
```
* Requested method
```perl
$ballance->{method};
```
## Aviable methods
| Method | Description | Has Base / Additional params |
|----------|:-------------:|-------------:|
| balance | Balance request | Base |
| base | Lists request | Base |
| senders | Request for senders list | Base |
| phone | Request for numbers from list | Base + Additional (base, page)|
| status | Status request | Base + Additional (state)|
| send | SMS sending | Base + Additional (phone, text, sender, sendingTime)|
| find_on_stop | Search in the blacklist | Base + Additional (phone)|
| add2stop | Adding a number to the blacklist | Base + Additional (phone)|
| add_template | Adding a template | Base + Additional (name, text, override) |
| del_template | Deleting a template | Base + Additional (name) |
| stat_by_month | General statistics for a month | Base + Additional (month) |
| hlr | HLR request | Base + Additional (phone) |
| hlr_stat | Statistics of HLR requests | Base + Additional (from, to) |
| operator | Mobile operator query | Base + Additional (phone, text) |
| incoming | Request for incoming SMS | Base + Additional (date, from, to) |
| prices | Request for prices | Base |
> Base params - login, signature, timestamp. Param login and signature - is is obtained from the configuration file. [Look of configuration](#configiration), timestamp - is obtained automatically.
# AUTHOR
Nick Nomos <nnmos@cpan.org>
# COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Nick Nomos.
GNU GPL 1991.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
( run in 0.394 second using v1.01-cache-2.11-cpan-bbcb1afb8fc )