Freenet FUNK API
Introduction
Freenet FUNK is cellphone tariff that offers unlimited (or 1 GB of) 4G data. The tariff is can be started, stopped and paused daily.
To make the most out of this flexibility, I reverse engineered the API to give anyone the ability to develop amazing apps on their own!
Prerequisites
- Python >=3.2
- pip
Installation
git clone https://github.com/lagmoellertim/freenet-funk-api.git
cd freenet-funk-api
python3 setup.py install
Build
git clone https://github.com/lagmoellertim/freenet-funk-api.git
cd freenet-funk-api
python3 setup.py sdist bdist_wheel
Usage
Initialize the API
from funkapi import FunkAPI
api = FunkAPI("*username*", "*password*")
Get a Token (not really necessary to do that manually but I left the option)
token = api.getToken()
Initialize the API with a predefined Token
from funkapi import FunkAPI
api = FunkAPI("", "", token="*token*")
Check the validity of a Token (also not really necessary to do manually)
isValid = api.testToken("*token*")
Get Dashboard Data (includes every piece of data FUNK stores of you)
data = api.getData()
Get Personal Information (email, name, birthday, …)
personalInfo = api.getPersonalInfo()
Get a List of your ordered Products
products = api.getOrderedProducts()
Get the currently active Tariff
currentTariff = api.getCurrentTariff()
Order the 1GB Tariff
status = api.order1GBTariff()
Order the unlimited Tariff
status = api.orderUnlimitedTariff()
Start a Break
status = api.startPause()
Stop the latest Product (includes stopping a break)
status = api.stopLatestTariff()
Contributing
If you are missing a feature or have new idea, go for it! That is what open-source is for!
Author
Tim-Luca Lagmöller (@lagmoellertim)
Donate
You can also contribute by buying me a coffee.
License
Copyright © 2019-present, Tim-Luca Lagmöller
Have fun 🎉
Metadata
Release files for freenet-funk-api 0.1.4
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 |
|---|---|---|---|---|
| freenet-funk-api-0.1.4.tar.gz | 4.6 kB | Without provenance | Details for freenet-funk-api-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| freenet_funk_api-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for freenet_funk_api-0.1.4-py3-none-any.whl |
Total release size: 10.2 kB
Release files / freenet-funk-api-0.1.4.tar.gz
| Download URL | freenet-funk-api-0.1.4.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
805d42e6fa9275a436824f4f0acf1e0c89fec966c48826b296437a5ac2e6812c
|
|
BLAKE2b-256 checksum How to use checksums |
6abad413556fe9aabb8d9e1aac5d3127a4ca4e345c3262b953d9d9857acfed46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|
Release files / freenet_funk_api-0.1.4-py3-none-any.whl
| Download URL | freenet_funk_api-0.1.4-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28b5fcfd2519c3f0d449800c8de5102291575fbdc6d3af0f129dcf896cbd6772
|
|
BLAKE2b-256 checksum How to use checksums |
4f22da090f4ee0e58c46d05a22f858b8379563f6ebe6a0358f16e88bbe0bfaf4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|
Security for freenet-funk-api 0.1.4
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.