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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page