{ "info": { "author": "Anton Kaiser", "author_email": "kaiser@kaiser.ovh", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# TypeForm_AdvancedAPI written in Python\n## by Anton Kaiser\n\n###### pip install typeform-advancedapi\n\n\nInitialize\n```\nfrom typeform_advancedapi import *\nAPI_KEY = \"\"\nTypeForm = TypeForm_AdvancedAPI.CTypeForm(API_KEY)\n```\n\n\nGet Form by ID <-- returns a CForm Object\n```\nformobject = TypeForm.getformByID(\"XXXXXX\")\n```\n\nGet Workspaces <-- returns an array with CWorkspace Objects\n```\nfor workspace in TypeForm.getWorkspaces():\n\tprint(workspace.getID())\n\tprint(workspace.getName())\n\tfor form in workspace.getForms():\n\t\tprint(form.getFormID())\n\t\tprint(form.getTitle())\n```\n\nGet Workspace by ID <-- returns the requested CWorkspace Object\n```\nworkspaceobject = TypeForm.getWorkspaceByID(\"XXXXXXXX\")\n```\n\n\ngetFormResponse <-- returns a CResponse Array from the Form\n```\nresponselist = TypeForm.getFormResponse(formobject)\nOR\nresponselist = TypeForm.getFormResponse(formobject,true) <-- This will replace every choice answer with the index instead of the name\n```\n\ngetFormResponse - After date <-- returns a CResponse Array from the Form\n```\ndate = \"2019-04-29T00%3A00%3A00\"\nresponselist = TypeForm.getFormResponse(formobject,false,date)\n```\n\nObjects:\n```\nCWorkspace:\ngetID() - Returns a String\ngetName() - Returns a String\ngetForms() - Returns a CForm array\n```\n\n```\nCForm:\ngetFormID() - Returns a String\ngetTitle() - Returns a String\ngetLastUpdatedAt() - Returns a String\ngetFormFields() - Returns a CFormField Array\nGetQuestionFromRef(QuestionREF) - Returns a String\n```\n\n```\nCFormField:\ngetID() - Returns a String\ngetType() - Returns a String\ngetRef() - Returns a String\ngetTitle() - Returns a String\ngetProperties() - Returns a JSON Object\n\n```\n\n```\nCResponse:\ngetLandingID() - Returns a String\ngetToken() - Returns a String\ngetResponseID() - Returns a String\ngetLandedAt() - Returns a String\ngetSubmittedAt() - Returns a String\ngetMetadata() - Returns a CMetadata Object\ngetAnswers() - Returns a CAnswer Array\n```\n\n```\nCAnswer:\ngetField() - Returns a String\ngetType() - Returns a String\ngetResult() - Returns a String\n```\n\n```\nCMetadata:\ngetUserAgent() - Returns a String\ngetPlatform() - Returns a String\ngetReferer() - Returns a String\ngetNetworkID() - Returns a String\ngetBrowser() - Returns a String\n```\n\nExample: Dumping Questions from a Form with QuestionID, Question\n```\nformID = \"XXXXX\"\nform = TypeForm.getformByID(formID)\nresponselist = TypeForm.getFormResponse(form)\ncounter = 1\nfor answer in responselist[0].getAnswers():\n\tprint(row.ExternalSurveyID + \" Question \" + str(counter) + \"> \" + answer.getField().getID() + \" - \" + form.GetQuestionFromRef(answer.getField().getRef()) + \" | \" + answer.getType())\n\tcounter += 1\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/kaiseranton/TypeForm_AdvancedAPI", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "typeform-advancedapi", "package_url": "https://pypi.org/project/typeform-advancedapi/", "platform": "", "project_url": "https://pypi.org/project/typeform-advancedapi/", "project_urls": { "Homepage": "https://github.com/kaiseranton/TypeForm_AdvancedAPI" }, "release_url": "https://pypi.org/project/typeform-advancedapi/1.1.8/", "requires_dist": [ "requests (>=2.21.0)" ], "requires_python": "", "summary": "TypeForm API written in python", "version": "1.1.8" }, "last_serial": 5203320, "releases": { "1.0.2": [ { "comment_text": "", "digests": { "md5": "7dffba7e4313a0c20e2022937059c2fd", "sha256": "6bf5039f9bdffaf22f4567a27e18f27cb88f0f1a4f129212dae547d64b54fe06" }, "downloads": -1, "filename": "typeform_advancedapi-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "7dffba7e4313a0c20e2022937059c2fd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2277, "upload_time": "2019-04-26T13:26:07", "url": "https://files.pythonhosted.org/packages/c7/46/202e3d1f46fd727dcae2765a971abf4a5a424599dbd1533fa751322cd68d/typeform_advancedapi-1.0.2-py3-none-any.whl" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "591828bdf87fbe8806c09d0b6321f6c2", "sha256": "4e4a67bb360c0c94b509b3d2be3c5515ba2cc0e77b62a3b121cdff1d1db872f2" }, "downloads": -1, "filename": "typeform_advancedapi-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "591828bdf87fbe8806c09d0b6321f6c2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2277, "upload_time": "2019-04-26T13:36:33", "url": "https://files.pythonhosted.org/packages/c3/3c/bd4dccff74120ed8dc525295c5e1a5c6f8004b03bfc93c63cc4f05f22bd2/typeform_advancedapi-1.0.3-py3-none-any.whl" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "8ca0f2871a3cf6bfbac6353a2cf66011", "sha256": "eff92fdcb712ee3816c10dbf1e80a4ce39a20a9e8cdc242bf5aeae9ac7de02a3" }, "downloads": -1, "filename": "typeform_advancedapi-1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "8ca0f2871a3cf6bfbac6353a2cf66011", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4060, "upload_time": "2019-04-26T13:40:20", "url": "https://files.pythonhosted.org/packages/c7/5d/a22db4edbecf9d8081ad0d1cf1b6873eff75785038192a66cd93d34b36c0/typeform_advancedapi-1.0.4-py3-none-any.whl" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "54a842623b8ca76785c07d9f866edd73", "sha256": "1c55e202409348a9877b3db3bee792f1e0749754783dddc498adc779b8d0ea86" }, "downloads": -1, "filename": "typeform_advancedapi-1.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "54a842623b8ca76785c07d9f866edd73", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4398, "upload_time": "2019-04-26T14:04:53", "url": "https://files.pythonhosted.org/packages/57/61/a204eb8819d33b449d9e8d7cb51d5e284dd7b0b3f477fb85a1810b0bc0bd/typeform_advancedapi-1.0.5-py3-none-any.whl" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "52fcaefe673cef0457b614dbe13a63c2", "sha256": "89c9bacabd6ad7917dc5a208a7165525a5459af18f971611ffd8427fda3d079c" }, "downloads": -1, "filename": "typeform_advancedapi-1.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "52fcaefe673cef0457b614dbe13a63c2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4391, "upload_time": "2019-04-26T14:07:45", "url": "https://files.pythonhosted.org/packages/dd/9f/6f14fb72497ba2331612f240f49bdcbd370abc36b337d5e1cadeab0ed525/typeform_advancedapi-1.0.6-py3-none-any.whl" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "3b6eb57ad8e0080d4f28a20112687030", "sha256": "f91ecb34a45c44a405d9b9250436bd748ccaee1cbe6ed713b3641428a5df0086" }, "downloads": -1, "filename": "typeform_advancedapi-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3b6eb57ad8e0080d4f28a20112687030", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5036, "upload_time": "2019-04-26T14:40:50", "url": "https://files.pythonhosted.org/packages/81/2c/04b7deb0a4f7cb7eb340b1f7e5792c4fef5012adc83f2eb6e4ea48553a9c/typeform_advancedapi-1.1.1-py3-none-any.whl" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "83ce99b9e43da88c409925747670cc0b", "sha256": "ef0f2775c3f658de737fe114dbfd21593e842b113b1e9b52fab2fa848b0c3ddf" }, "downloads": -1, "filename": "typeform_advancedapi-1.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "83ce99b9e43da88c409925747670cc0b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5039, "upload_time": "2019-04-26T14:46:52", "url": "https://files.pythonhosted.org/packages/4a/39/e2616879fa493010b08ab84dff25b6d7ab61d51351c73d748aa41f977563/typeform_advancedapi-1.1.2-py3-none-any.whl" } ], "1.1.5": [ { "comment_text": "", "digests": { "md5": "bed7c2ec8d22c9c932bdf5fc32bf1141", "sha256": "60b77064998e2d96a50b911cff571c8c1b05c602c434aba54c294762c51a5316" }, "downloads": -1, "filename": "typeform_advancedapi-1.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "bed7c2ec8d22c9c932bdf5fc32bf1141", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5064, "upload_time": "2019-04-26T15:44:19", "url": "https://files.pythonhosted.org/packages/78/3f/91e754574fed9b05ef8a171c470c5f2c2bbfa5c8dec8c6ad8636555265cc/typeform_advancedapi-1.1.5-py3-none-any.whl" } ], "1.1.7": [ { "comment_text": "", "digests": { "md5": "0ba5fbef338640c91ab9d7a8fa54ca1b", "sha256": "1db3e68fde2180213760b0e0f4c7caea28a4c11f3a03ed89e39b377f8a7de637" }, "downloads": -1, "filename": "typeform_advancedapi-1.1.7-py3-none-any.whl", "has_sig": false, "md5_digest": "0ba5fbef338640c91ab9d7a8fa54ca1b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5100, "upload_time": "2019-04-29T08:29:04", "url": "https://files.pythonhosted.org/packages/cd/8c/20bd5ad2ea3be11384dcc6aa1816ea22960eff57afba86e0a213a2cc45d2/typeform_advancedapi-1.1.7-py3-none-any.whl" } ], "1.1.8": [ { "comment_text": "", "digests": { "md5": "ea16e660677669de7d8d0698abbdd721", "sha256": "ba7d838895fbaf1f2d02bb324167e3831cb707a72e2689564840fd510de4b450" }, "downloads": -1, "filename": "typeform_advancedapi-1.1.8-py3-none-any.whl", "has_sig": false, "md5_digest": "ea16e660677669de7d8d0698abbdd721", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5180, "upload_time": "2019-04-29T14:14:45", "url": "https://files.pythonhosted.org/packages/18/39/25233414d7bb6a68c0ca41be7ae701e0e924c9b9b0ae1d490e5e347dfb0b/typeform_advancedapi-1.1.8-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ea16e660677669de7d8d0698abbdd721", "sha256": "ba7d838895fbaf1f2d02bb324167e3831cb707a72e2689564840fd510de4b450" }, "downloads": -1, "filename": "typeform_advancedapi-1.1.8-py3-none-any.whl", "has_sig": false, "md5_digest": "ea16e660677669de7d8d0698abbdd721", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5180, "upload_time": "2019-04-29T14:14:45", "url": "https://files.pythonhosted.org/packages/18/39/25233414d7bb6a68c0ca41be7ae701e0e924c9b9b0ae1d490e5e347dfb0b/typeform_advancedapi-1.1.8-py3-none-any.whl" } ] }