This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Andrews & Arnold API wrapper for Python 3.5+

Deprecation warning

The original Chaos API is deprecated and this library will see no more development as a result. Please see Chaos2 for an equivalent library for the replacement API.

This package will allow you to access the original, deprecated Chaos API. Use cases could include scripts to monitor your data, VoIP or SIP2SIM usage.

Requirements

  • Python 3.5 or later
  • Python-Requests (will be installed automatically using pip)

Installation

pip install aaispy

Usage

import aaispy

aa = aaispy.Chaos("username", "password") # use your normal credentials for control.aa.net.uk

Methods correspond to “commands” as defined in the API documentation, and any arguments are passed as JSON to the API. The method name is passed as the “command” parameter of the JSON object, and it will override any “command” argument set manually.

aa.info() # lists all the services associated to your account
aa.usage(sim={"ID": "1234"}) # displays call/SMS records for a particular SIM based in its ICCID
aa.usage(voip={"ID": "+44..."}) # same but for a VoIP line based on its phone number

Tests

A very basic test suite is included. You need to be able to reach the API server for the tests to succeed.

python setup.py test

License

Copyright (c) 2016 Andre Borie.

Released under the MIT license.

Release History

Release History

0.0.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
aaispy-0.0.3.zip (7.3 kB) Copy SHA256 Checksum SHA256 Source Oct 14, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting