Since I don't use freenet funk anymore, I am not able to maintain this api any longer. If you want to become the new maintainer, feel free to fork this repo.
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
- pip3 (or just pip on windows)
pip3 install funkapi
git clone https://github.com/lagmoellertim/freenet-funk-api.git
cd freenet-funk-api
pip3 install -r requirements.txt
python3 setup.py install
git clone https://github.com/lagmoellertim/freenet-funk-api.git
cd freenet-funk-api
pip3 install -r requirements.txt
python3 setup.py sdist bdist_wheel
from funkapi import FunkAPI
api = FunkAPI("*username*", "*password*")
token = api.getToken()
from funkapi import FunkAPI
api = FunkAPI("", "", token="*token*")
isValid = api.testToken("*token*")
data = api.getData()
personalInfo = api.getPersonalInfo()
products = api.getOrderedProducts()
currentPlan = api.getCurrentPlan()
status = api.order1GBPlan()
status = api.orderUnlimitedPlan()
status = api.startPause()
status = api.stopLatestPlan()
If you get stuck at some point while trying to use the API, take a look the code. It is fully commented and well-labeled, so that should help you understand what's going on.
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)
I'm part of the official GitHub Sponsors program where you can support me on a monthly basis.
You can also contribute by buying me a coffee (this is a one-time donation).
Thank you for your support!
Copyright © 2019-present, Tim-Luca Lagmöller