Unofficial FreedomPop Client library, inspired by freedompop-telegram.
This library provides a simple Pythonic API to a selection of calls available through the undocumented and unsupported FreedomPop API.
Configuration
All configuration is solicited through various environment variables.
App Credentials:
FREEDOMPOP_API_USERNAME
FREEDOMPOP_API_PASSWORD
FREEDOMPOP_APP_VERSION
For these, you may extract them from an APK or re-use ones such as those published here.
Account Credentials:
FREEDOMPOP_USERNAME
FREEDOMPOP_PASSWORD
These are the e-mail address and password used to authenticate to the FreedomPop web site.
Other variables that may be used:
FREEDOMPOP_DEVICE_ID
FREEDOMPOP_DEVICE_SID
FREEDOMPOP_DEVICE_TYPE
FREEDOMPOP_RADIO_TYPE
FREEDOMPOP_PUSH_TOKEN
Usage
Command-Line
Once installed, the package provides a command-line client. For any of the API methods that require no parameters, you may invoke it from the command line and see the JSON response. For example:
$ python -m freedompop 'get phone account info'
{'accountExternalId': None,
'accountExternalRefId': '...',
'accountId': '...',
...
The command invoked can use space-separated, dash-separated, or underscore-separated names.
Programmatic
For other applications, it’s possible to construct and invoke the API programmatically:
>>> import freedompop
>>> client = freedompop.Client()
>>> client.get_phone_account_info()
{...}
Read the docs or review the source for the methods available.
Metadata
Release files for freedompop 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| freedompop-1.0.0.tar.gz | 7.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| freedompop-1.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 11.9 kB
Release files / freedompop-1.0.0.tar.gz
| Download URL | freedompop-1.0.0.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca929fecbea2ea0de740da69046e9b0941b390a92a64be064ce4fde60c7cef28
|
|
BLAKE2b-256 checksum How to use checksums |
0f507715337afd4efb3b5cbbf03eea9d918ec684be4adb58f09f3956c6d240dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0
|
Release files / freedompop-1.0.0-py2.py3-none-any.whl
| Download URL | freedompop-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
40619d09f85000b14b63ebf86fa19511ca2792ae7fdb0387f6687dbc12c2727d
|
|
BLAKE2b-256 checksum How to use checksums |
cde80da57379733df09776945acf718776cfe4606793958212b46d8bce058f69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0
|