Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

optus-0.0.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

optus-0.0.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

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

Hashes for optus-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2fc178a403bfbca90043a68446a260d13d4cee9d304c7ef0e296494566b98656
MD5 4e8d3952afff0ede204a6d2471123d24
BLAKE2b-256 45f3836b6a34be5eaa0316ecfd2df5ba7ad6391ff84561f092e199d2eaadfb08

See more details on using hashes here.

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

Hashes for optus-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 26cada63ff4f5363888f9a37284244ffbd02ed831eb5a8bec499bddad8dc0337
MD5 b1b89f1e03bd2c55e87635e5f08767b0
BLAKE2b-256 5f16b2fa18e8a719494fb7023d55232e32f324a6fc8ad086d15ba688ab20c691

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page