Skip to main content

Python Interface for RedPocket Mobile Data

Project description

build PyPI version PyPI - Downloads

pyRedPocket

Python interface to RedPocket Mobile's website - to get current data, messaging and voice balances.

Installation

pip install pyredpocket

Example

from pyredpocket import RedPocket

client = RedPocket(username='username', password='password')

print(client.details)
[ 
  LineDetails(
  phone_number='XXXXXXXXXX', 
  voice_balance=-1, 
  messaging_balance=-1, 
  data_balance=2863, 
  timestamp=1618587283.578837, 
  start_date=datetime.date(2021, 4, 2), 
  end_date=datetime.date(2021, 5, 4),
  hash='A1b2C3d4',
  ) 
]

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

pyredpocket-0.1.5.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyredpocket-0.1.5-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file pyredpocket-0.1.5.tar.gz.

File metadata

  • Download URL: pyredpocket-0.1.5.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for pyredpocket-0.1.5.tar.gz
Algorithm Hash digest
SHA256 b673fc091f457b78b1287c5bf552c5aa4894403b62de9734260672046d69bfce
MD5 ca18d3d219c72907af7045519dad8f0b
BLAKE2b-256 99c3ea059aa99e79db811bacf7083ff5ca32af782411fded4230f0798df50b3c

See more details on using hashes here.

File details

Details for the file pyredpocket-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: pyredpocket-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for pyredpocket-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1790e4969e3bbb14bf0b304fc1d8afcbc0a8484381baf18628a40fceb676e18a
MD5 0ca8ec2a190d935ff93c965293e337b7
BLAKE2b-256 32d7602a9c2097d0875cb6c6cd24cf0806973d716c6cce7cd81ae8f2d08abbd2

See more details on using hashes here.

Supported by

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