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 hashes)

Uploaded source

Built Distribution

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

Uploaded py3

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