{ "info": { "author": "Johnny Kirchman", "author_email": "Jkirch86@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "=========\nfawrapper\n=========\n\nA python wrapper for the `FieldAware API`_.\n\n.. _FieldAware API: https://api.fieldaware.net/doc/\n\n\nrequires a FIELDAWARE_TOKEN environment variable\n\n\nInstallation\n------------\n\nFawrapper is currently supported on python 3.6\n\n.. code-block:: bash\n\n pip install git+https://github.com/j-kirch/fawrapper\n\nQuickstart\n----------\n\nAssuming you already have at token provided by Fieldaware, you can create\nan intance of the FieldawareAPIClient like so:\n\n.. code-block:: python\n\n from fawrapper import FieldawareAPIClient\n\n # If you have set the environment variable ``FIELDAWARE_TOKEN``\n api = FieldawareAPIClient()\n\n # Or you can include the token\n api = FieldawareAPIClient(api_key=\"your_token\")\n\nWith the api instance you can interact with Fieldaware:\n\n.. code-block:: python\n\n # List all users\n users_list = api.users.list()\n for user in users_list:\n print('First Name: ', user.first_name, 'UUID: ', user.uuid)\n\n # List all jobs\n jobs_list = api.jobs.list()\n for job in jobs_list:\n print('Job Number: ', job.id, 'UUID: ', job.uuid)\n\n # Get a user with uuid\n user = api.users.get('user_uuid')\n\n # Get a job with uuid\n job = api.jobs.get('job_uuid')\n\n # With the Job and a User instance, you can update the api by setting the\n # attribute to the user\n job.job_lead = user\n\n\nDocumentation\n-------------\n\nTODO\n\nContribution\n------------\n\nIf you find an API method that is not supported yet, feel free to create a\nGithub issue.\n\nYou are more than welcome to submit a pull request for bug fixes or additional\nfeatures.\n\nThank you!\n\nLicense\n-------\n`MIT License`_\n\n.. _MIT License: http://opensource.org/license/mit-license.php", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/J-Kirch/fawrapper", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "fawrapper", "package_url": "https://pypi.org/project/fawrapper/", "platform": "", "project_url": "https://pypi.org/project/fawrapper/", "project_urls": { "Homepage": "https://github.com/J-Kirch/fawrapper" }, "release_url": "https://pypi.org/project/fawrapper/0.1.0a6/", "requires_dist": null, "requires_python": ">3.6", "summary": "A wrapper for the Fieldaware API", "version": "0.1.0a6" }, "last_serial": 3235318, "releases": { "0.1.0a4": [ { "comment_text": "", "digests": { "md5": "f792ce62645d3ee43511455c64c2d29e", "sha256": "8e60c1b61857cf87a2cab45d1e3aa5a3c57fb82c95299c7924163e692eef2c0b" }, "downloads": -1, "filename": "fawrapper-0.1.0a4.tar.gz", "has_sig": false, "md5_digest": "f792ce62645d3ee43511455c64c2d29e", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6", "size": 11871, "upload_time": "2017-10-08T19:14:02", "url": "https://files.pythonhosted.org/packages/91/ac/c99062e5b18069d4067e3921c66f8ec7a3a8d7cd95dfa5fa0e9383ac92f4/fawrapper-0.1.0a4.tar.gz" } ], "0.1.0a5": [ { "comment_text": "", "digests": { "md5": "7ace05aac4c3fe825b0128d7e910103f", "sha256": "4114626880696f0e3a4ffa7b576149748eb3ef862e20af0df1453deb4ebd570a" }, "downloads": -1, "filename": "fawrapper-0.1.0a5.tar.gz", "has_sig": false, "md5_digest": "7ace05aac4c3fe825b0128d7e910103f", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6", "size": 12575, "upload_time": "2017-10-09T02:22:21", "url": "https://files.pythonhosted.org/packages/88/c5/5c980e51be8d1f8f9dc38fb92e6627a77f0b36472b36b9e333e8782fcaf2/fawrapper-0.1.0a5.tar.gz" } ], "0.1.0a6": [ { "comment_text": "", "digests": { "md5": "13b9a4072aba52186992156eadb17543", "sha256": "65793547fd4d8de0b69c0cf8ba5be54d9541a15b98d7bc633bbc9e55fb612435" }, "downloads": -1, "filename": "fawrapper-0.1.0a6.tar.gz", "has_sig": false, "md5_digest": "13b9a4072aba52186992156eadb17543", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6", "size": 12738, "upload_time": "2017-10-09T04:14:33", "url": "https://files.pythonhosted.org/packages/81/ab/2c4945a3301b512b04add8e0678df042b26fc65cd76f68d337b15adcefbc/fawrapper-0.1.0a6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "13b9a4072aba52186992156eadb17543", "sha256": "65793547fd4d8de0b69c0cf8ba5be54d9541a15b98d7bc633bbc9e55fb612435" }, "downloads": -1, "filename": "fawrapper-0.1.0a6.tar.gz", "has_sig": false, "md5_digest": "13b9a4072aba52186992156eadb17543", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6", "size": 12738, "upload_time": "2017-10-09T04:14:33", "url": "https://files.pythonhosted.org/packages/81/ab/2c4945a3301b512b04add8e0678df042b26fc65cd76f68d337b15adcefbc/fawrapper-0.1.0a6.tar.gz" } ] }