{ "info": { "author": "davidgiga1993", "author_email": "david@dev-core.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries" ], "description": "# Audi Connect API\nThis library provides access to the Audi Connect API.\nIt allows easy access to all vehicle relevant data.\n\nThe API does automatic session caching and tries to keep the \noriginal service names as found in the audi connect app.\n\nSome services require special permissions or certain origin countries of the car\nto be accessible.\n\nNote: Not all services are fully implemented due to missing permissions as mentioned above. \n\n# Installing\n```bash\npip install audiapi\n```\n\n# Examples\n## Login credentials\n`credentials.json`\n```json\n{\n \"user\": \"yourUser@mail.com\",\n \"pass\": \"yourPassword\"\n}\n```\n\n## List all vehicles under your account\nThe auth tokens will be cached in the working directory\n```python\napi = API()\nlogon_service = LogonService(api)\nif not logon_service.restore_token():\n\twith open('credentials.json') as data_file:\n\t\tdata = json.load(data_file)\n\tlogon_service.login(data['user'], data['pass'])\ncar_service = CarService(api)\ncar_service.get_vehicles()\n```\nResponse\n```json\n{\n\t\"csid\": \"-----\",\n\t\"vin\": \"-----\",\n\t\"registered\": \"2017-02-15T18:06:39.000+01:00\"\n}\n```\n\n## Get details about the embedded SIM\n```python\nmgmt_service = VehicleManagementService(api, vehicle)\nmgmt_service.get_information()\n```\nResponse\n```json\n{\n \"vehicleData\": {\n\t\"requestId\": \"--\",\n\t\"vin\": \"--\",\n\t\"country\": \"DE\",\n\t\"isConnect\": \"true\",\n\t\"brand\": \"Audi\",\n\t\"vehicleDevices\": {\n\t \"vehicleDevice\": [\n\t\t{\n\t\t \"ecuGeneration\": \"MIB2high\",\n\t\t \"deviceType\": \"INFOTAINMENT\"\n\t\t},\n\t\t{\n\t\t \"deviceId\": \"----\",\n\t\t \"embeddedSim\": {\n\t\t\t\"identification\": {\n\t\t\t \"content\": \"----\",\n\t\t\t \"type\": \"ICCID\"\n\t\t\t},\n\t\t\t\"imei\": \"----\",\n\t\t\t\"mno\": \"vodafone\"\n\t\t },\n\t\t \"ecuGeneration\": \"cGW\",\n\t\t \"deviceType\": \"TELEMATICS\"\n\t\t}\n\t ]\n\t},\n\t\"isConnectSorglosReady\": \"true\",\n\t\"systemId\": \"XID_APP_AUDI\"\n }\n}\n```\n\n# Dependencies\n- Python 3\n- Requests library\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/davidgiga1993/AudiAPI", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "audiapi", "package_url": "https://pypi.org/project/audiapi/", "platform": "", "project_url": "https://pypi.org/project/audiapi/", "project_urls": { "Homepage": "https://github.com/davidgiga1993/AudiAPI" }, "release_url": "https://pypi.org/project/audiapi/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "Provides access to the Audi Connect API", "version": "1.0.1" }, "last_serial": 4484496, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "9e1ed23e1b3ebd01285600c8df62f528", "sha256": "dce3d1bda2e243321273c32dadfbe6a1de21c67a72c2f11211db22b1b9932e1d" }, "downloads": -1, "filename": "audiapi-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "9e1ed23e1b3ebd01285600c8df62f528", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12764, "upload_time": "2018-11-14T06:58:47", "url": "https://files.pythonhosted.org/packages/88/ee/c52c945c03489d72031f9fafc98fb6924d44a0ced31dd7d2f7eaa2aaeebc/audiapi-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4338f6cb4f451dc40c615b1c4acf051c", "sha256": "1e5aee01adc256dd75d5478fb01052eb3701ff1d2c1fbdb2eb7bff9528349686" }, "downloads": -1, "filename": "audiapi-1.0.1.tar.gz", "has_sig": false, "md5_digest": "4338f6cb4f451dc40c615b1c4acf051c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9618, "upload_time": "2018-11-14T06:58:48", "url": "https://files.pythonhosted.org/packages/e6/a8/7618c83fad60294e997e9194ffb2f327fd8c724d2e969ace5d0216c4e870/audiapi-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9e1ed23e1b3ebd01285600c8df62f528", "sha256": "dce3d1bda2e243321273c32dadfbe6a1de21c67a72c2f11211db22b1b9932e1d" }, "downloads": -1, "filename": "audiapi-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "9e1ed23e1b3ebd01285600c8df62f528", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12764, "upload_time": "2018-11-14T06:58:47", "url": "https://files.pythonhosted.org/packages/88/ee/c52c945c03489d72031f9fafc98fb6924d44a0ced31dd7d2f7eaa2aaeebc/audiapi-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4338f6cb4f451dc40c615b1c4acf051c", "sha256": "1e5aee01adc256dd75d5478fb01052eb3701ff1d2c1fbdb2eb7bff9528349686" }, "downloads": -1, "filename": "audiapi-1.0.1.tar.gz", "has_sig": false, "md5_digest": "4338f6cb4f451dc40c615b1c4acf051c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9618, "upload_time": "2018-11-14T06:58:48", "url": "https://files.pythonhosted.org/packages/e6/a8/7618c83fad60294e997e9194ffb2f327fd8c724d2e969ace5d0216c4e870/audiapi-1.0.1.tar.gz" } ] }