Skip to main content

Freenet FUNK API

Introduction

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!

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 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()

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

MIT License

Copyright © 2019-present, Tim-Luca Lagmöller

Have fun 🎉

Metadata

Release files for funkapi 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for funkapi 0.1.5
File Size Uploaded Provenance Actions
funkapi-0.1.5.tar.gz 4.6 kB Without provenance Details for funkapi-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for funkapi 0.1.5
File Interpreter ABI Platform Actions
funkapi-0.1.5-py3-none-any.whl Python 3 none any Details for funkapi-0.1.5-py3-none-any.whl

Total release size: 10.1 kB

Release files / funkapi-0.1.5.tar.gz

Download URL funkapi-0.1.5.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
36972e28a496073bf65859d3cdbb1767986a6c57daf78b02defa80ca0d1a342b
BLAKE2b-256 checksum
How to use checksums
450c56549ff15a7d40a85af801919d2a2f86bad4e331cc5738d426ab18a14593
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 / funkapi-0.1.5-py3-none-any.whl

Download URL funkapi-0.1.5-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09f227cdcec587c2d46d448bb24202391ac4e75603019193566d769d1e02c179
BLAKE2b-256 checksum
How to use checksums
0293addf98cd3a07fbb596121081d4905aae676f61c2b32464001bc2c0828097
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 funkapi 0.1.5

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.

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page