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.from_env()
>>> client.get_phone_account_info()
{...}
Read the docs or review the source for the methods available.
Metadata
Release files for freedompop 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| freedompop-1.1.1.tar.gz | 10.3 kB | Without provenance | Details for freedompop-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| freedompop-1.1.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for freedompop-1.1.1-py2.py3-none-any.whl |
Total release size: 15.3 kB
Release files / freedompop-1.1.1.tar.gz
| Download URL | freedompop-1.1.1.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1193646ddb533db59d50ae506e88a04412c3b5da2442ea9a415ecb16fb5e5612
|
|
BLAKE2b-256 checksum How to use checksums |
cab6b129fb470f3524627cdfa5098651de706ef45c195c7f878c6d1c1a20df51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.1
|
Release files / freedompop-1.1.1-py2.py3-none-any.whl
| Download URL | freedompop-1.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
52030879a0e418a6e55253b424da484fddb82cd80745988bd1310e8dc4440c93
|
|
BLAKE2b-256 checksum How to use checksums |
96f11ee7c73eefa71c807eea11bc5377e41c466b16099bb3c6a3ca9b0ea90648
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.1
|
Security for freedompop 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.