Python wrapper for the optus mobile API
Project description
Optus Mobile API Integration
This is a python wrapper for the Optus mobile API. It provides the ability to view account usage information and other capabilities normally only accessed via the mobile application.
Base64 auth is a generic token for the Optus API and does not contain credentials
Features
- Usage Information (Balance, data remaining etc)
- Addon information (Details of addons applied or avaliable for the account)
- Geofencing Information (Geofences that have been configured for the account)
Install
Install using pip:
pip install optus
Demo
To test the script there is a demo script that can be used
demo.py EMAIL PASSWORD MOBILE
Example
demo.py test@test.com password1 04123456
Library Usage
Simple Usage
from optus import Account
acc = Account("email", "password", "mobile")
print(acc.usage())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file optus-0.0.1.tar.gz.
File metadata
- Download URL: optus-0.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.1.1 requests-toolbelt/0.8.0 tqdm/4.46.1 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fc178a403bfbca90043a68446a260d13d4cee9d304c7ef0e296494566b98656
|
|
| MD5 |
4e8d3952afff0ede204a6d2471123d24
|
|
| BLAKE2b-256 |
45f3836b6a34be5eaa0316ecfd2df5ba7ad6391ff84561f092e199d2eaadfb08
|
File details
Details for the file optus-0.0.1-py3-none-any.whl.
File metadata
- Download URL: optus-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.1.1 requests-toolbelt/0.8.0 tqdm/4.46.1 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26cada63ff4f5363888f9a37284244ffbd02ed831eb5a8bec499bddad8dc0337
|
|
| MD5 |
b1b89f1e03bd2c55e87635e5f08767b0
|
|
| BLAKE2b-256 |
5f16b2fa18e8a719494fb7023d55232e32f324a6fc8ad086d15ba688ab20c691
|