{ "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 tariff that offers **unlimited** (or 1 GB of) 4G data. The tariff 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 Tariff\n\n```python3\ncurrentTariff = api.getCurrentTariff()\n```\n\n### Order the 1GB Tariff\n\n```python3\nstatus = api.order1GBTariff()\n```\n\n### Order the unlimited Tariff\n\n```python3\nstatus = api.orderUnlimitedTariff()\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.stopLatestTariff()\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](http://donate.lagmoellertim.de).\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": "freenet-funk-api", "package_url": "https://pypi.org/project/freenet-funk-api/", "platform": "", "project_url": "https://pypi.org/project/freenet-funk-api/", "project_urls": { "Homepage": "https://github.com/lagmoellertim/freenet-funk-api" }, "release_url": "https://pypi.org/project/freenet-funk-api/0.1.4/", "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.4" }, "last_serial": 5288341, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "311daaa2b0a9fdbc54ee31ec99e81add", "sha256": "a018ff962a853e67758debb610578b41b6856e5abaad277f5c9d17439ac56fa9" }, "downloads": -1, "filename": "freenet_funk_api-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "311daaa2b0a9fdbc54ee31ec99e81add", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5472, "upload_time": "2019-05-09T20:31:06", "url": "https://files.pythonhosted.org/packages/b1/ae/2708b6e36e2e3b50a0114d949d9968758e938993c3b7ef9f35ff11f9e9e5/freenet_funk_api-0.1-py3-none-any.whl" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "17183a7584dead3fff2bc6f682665ffb", "sha256": "28b5fcfd2519c3f0d449800c8de5102291575fbdc6d3af0f129dcf896cbd6772" }, "downloads": -1, "filename": "freenet_funk_api-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "17183a7584dead3fff2bc6f682665ffb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5640, "upload_time": "2019-05-19T13:45:36", "url": "https://files.pythonhosted.org/packages/4f/22/da090f4ee0e58c46d05a22f858b8379563f6ebe6a0358f16e88bbe0bfaf4/freenet_funk_api-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "de7b786e77f38fd33d39cd65b9f594cd", "sha256": "805d42e6fa9275a436824f4f0acf1e0c89fec966c48826b296437a5ac2e6812c" }, "downloads": -1, "filename": "freenet-funk-api-0.1.4.tar.gz", "has_sig": false, "md5_digest": "de7b786e77f38fd33d39cd65b9f594cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4563, "upload_time": "2019-05-19T13:45:38", "url": "https://files.pythonhosted.org/packages/6a/ba/d413556fe9aabb8d9e1aac5d3127a4ca4e345c3262b953d9d9857acfed46/freenet-funk-api-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "17183a7584dead3fff2bc6f682665ffb", "sha256": "28b5fcfd2519c3f0d449800c8de5102291575fbdc6d3af0f129dcf896cbd6772" }, "downloads": -1, "filename": "freenet_funk_api-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "17183a7584dead3fff2bc6f682665ffb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5640, "upload_time": "2019-05-19T13:45:36", "url": "https://files.pythonhosted.org/packages/4f/22/da090f4ee0e58c46d05a22f858b8379563f6ebe6a0358f16e88bbe0bfaf4/freenet_funk_api-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "de7b786e77f38fd33d39cd65b9f594cd", "sha256": "805d42e6fa9275a436824f4f0acf1e0c89fec966c48826b296437a5ac2e6812c" }, "downloads": -1, "filename": "freenet-funk-api-0.1.4.tar.gz", "has_sig": false, "md5_digest": "de7b786e77f38fd33d39cd65b9f594cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4563, "upload_time": "2019-05-19T13:45:38", "url": "https://files.pythonhosted.org/packages/6a/ba/d413556fe9aabb8d9e1aac5d3127a4ca4e345c3262b953d9d9857acfed46/freenet-funk-api-0.1.4.tar.gz" } ] }