Reverse engineered API of Freenet FUNK
Freenet FUNK API
Freenet FUNK is cellphone plan that offers unlimited (or 1 GB of) 4G data. The plan 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!
- Python >=3.2
git clone https://github.com/lagmoellertim/freenet-funk-api.git cd freenet-funk-api python3 setup.py install
git clone https://github.com/lagmoellertim/freenet-funk-api.git cd freenet-funk-api python3 setup.py sdist bdist_wheel
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 Plan
currentPlan = api.getCurrentPlan()
Order the 1GB Plan
status = api.order1GBPlan()
Order the unlimited Plan
status = api.orderUnlimitedPlan()
Start a Break
status = api.startPause()
Stop the latest Product (includes stopping a break)
status = api.stopLatestPlan()
If you are missing a feature or have new idea, go for it! That is what open-source is for!
Tim-Luca Lagmöller (@lagmoellertim)
You can also contribute by buying me a coffee.
Copyright © 2019-present, Tim-Luca Lagmöller
Have fun :tada:
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size funkapi-0.1.5-py3-none-any.whl (5.6 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size funkapi-0.1.5.tar.gz (4.6 kB)||File type Source||Python version None||Upload date||Hashes View|