{ "info": { "author": "Tim-Luca Lagm\u00f6ller", "author_email": "hello@lagmoellertim.de", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Freenet FUNK API\n\n## Introduction\n\nFreenet FUNK is cellphone plan that offers **unlimited** (or 1 GB of) 4G data. The plan is can be started, stopped and paused **daily**.\n\nTo make the most out of this flexibility, I reverse engineered the **API** to give anyone the ability to develop amazing apps on their own!\n\n## Prerequisites\n\n- Python >=3.2\n- pip\n\n## Installation\n\n```sh\ngit clone https://github.com/lagmoellertim/freenet-funk-api.git\n\ncd freenet-funk-api\n\npython3 setup.py install\n```\n\n## Build\n\n```sh\ngit clone https://github.com/lagmoellertim/freenet-funk-api.git\n\ncd freenet-funk-api\n\npython3 setup.py sdist bdist_wheel\n```\n\n## Usage\n\n### Initialize the API\n\n```python3\nfrom funkapi import FunkAPI\napi = FunkAPI(\"*username*\", \"*password*\")\n```\n\n### Get a Token (not really necessary to do that manually but I left the option)\n\n```python3\ntoken = api.getToken()\n```\n\n### Initialize the API with a predefined Token\n\n```python3\nfrom funkapi import FunkAPI\napi = FunkAPI(\"\", \"\", token=\"*token*\")\n```\n\n### Check the validity of a Token (also not really necessary to do manually)\n\n```python3\nisValid = api.testToken(\"*token*\")\n```\n\n### Get Dashboard Data (includes every piece of data FUNK stores of you)\n\n```python3\ndata = api.getData()\n```\n\n### Get Personal Information (email, name, birthday, \u2026)\n\n```python3\npersonalInfo = api.getPersonalInfo()\n```\n\n### Get a List of your ordered Products\n\n```python3\nproducts = api.getOrderedProducts()\n```\n\n### Get the currently active Plan\n\n```python3\ncurrentPlan = api.getCurrentPlan()\n```\n\n### Order the 1GB Plan\n\n```python3\nstatus = api.order1GBPlan()\n```\n\n### Order the unlimited Plan\n\n```python3\nstatus = api.orderUnlimitedPlan()\n```\n\n### Start a Break\n\n```python3\nstatus = api.startPause()\n```\n\n### Stop the latest Product (includes stopping a break)\n\n```python3\nstatus = api.stopLatestPlan()\n```\n\n## Contributing\n\nIf you are missing a feature or have new idea, go for it! That is what open-source is for!\n\n## Author\n\n**Tim-Luca Lagm\u00f6ller** ([@lagmoellertim](https://github.com/lagmoellertim))\n\n## Donate\n\nYou can also contribute by [buying me a coffee](https://www.buymeacoffee.com/lagmoellertim).\n\n## License\n\n[MIT License](https://github.com/lagmoellertim/cryption/blob/master/LICENSE)\n\nCopyright \u00a9 2019-present, [Tim-Luca Lagm\u00f6ller](https://en.lagmoellertim.de)\n\n## Have fun :tada:\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lagmoellertim/freenet-funk-api", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "funkapi", "package_url": "https://pypi.org/project/funkapi/", "platform": "", "project_url": "https://pypi.org/project/funkapi/", "project_urls": { "Homepage": "https://github.com/lagmoellertim/freenet-funk-api" }, "release_url": "https://pypi.org/project/funkapi/0.1.5/", "requires_dist": [ "boto3 (==1.9.145)", "botocore (==1.12.145)", "certifi (==2019.3.9)", "chardet (==3.0.4)", "docutils (==0.14)", "ecdsa (==0.13.2)", "envs (==1.3)", "future (==0.17.1)", "idna (==2.8)", "jmespath (==0.9.4)", "pycryptodome (==3.3.1)", "python-dateutil (==2.8.0)", "python-jose-cryptodome (==1.3.2)", "requests (==2.21.0)", "s3transfer (==0.2.0)", "six (==1.12.0)", "urllib3 (==1.24.3)", "warrant (==0.6.1)" ], "requires_python": "", "summary": "Reverse engineered API of Freenet FUNK", "version": "0.1.5" }, "last_serial": 5288374, "releases": { "0.1.5": [ { "comment_text": "", "digests": { "md5": "66f357822520623063073f8e90a32fe0", "sha256": "09f227cdcec587c2d46d448bb24202391ac4e75603019193566d769d1e02c179" }, "downloads": -1, "filename": "funkapi-0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "66f357822520623063073f8e90a32fe0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5555, "upload_time": "2019-05-19T13:56:44", "url": "https://files.pythonhosted.org/packages/02/93/addf98cd3a07fbb596121081d4905aae676f61c2b32464001bc2c0828097/funkapi-0.1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e37d3049c55e9108ee4e959dc937adf3", "sha256": "36972e28a496073bf65859d3cdbb1767986a6c57daf78b02defa80ca0d1a342b" }, "downloads": -1, "filename": "funkapi-0.1.5.tar.gz", "has_sig": false, "md5_digest": "e37d3049c55e9108ee4e959dc937adf3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4552, "upload_time": "2019-05-19T13:56:46", "url": "https://files.pythonhosted.org/packages/45/0c/56549ff15a7d40a85af801919d2a2f86bad4e331cc5738d426ab18a14593/funkapi-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "66f357822520623063073f8e90a32fe0", "sha256": "09f227cdcec587c2d46d448bb24202391ac4e75603019193566d769d1e02c179" }, "downloads": -1, "filename": "funkapi-0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "66f357822520623063073f8e90a32fe0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5555, "upload_time": "2019-05-19T13:56:44", "url": "https://files.pythonhosted.org/packages/02/93/addf98cd3a07fbb596121081d4905aae676f61c2b32464001bc2c0828097/funkapi-0.1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e37d3049c55e9108ee4e959dc937adf3", "sha256": "36972e28a496073bf65859d3cdbb1767986a6c57daf78b02defa80ca0d1a342b" }, "downloads": -1, "filename": "funkapi-0.1.5.tar.gz", "has_sig": false, "md5_digest": "e37d3049c55e9108ee4e959dc937adf3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4552, "upload_time": "2019-05-19T13:56:46", "url": "https://files.pythonhosted.org/packages/45/0c/56549ff15a7d40a85af801919d2a2f86bad4e331cc5738d426ab18a14593/funkapi-0.1.5.tar.gz" } ] }