{ "info": { "author": "Bungalow Living", "author_email": "engineering@bungalow.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "certn-python\n============\n\n[![Latest PyPI version](https://img.shields.io/pypi/v/certn-python.svg)](https://pypi.python.org/pypi/certn-python)\n\n[![Latest Travis CI build status](https://travis-ci.com/livebungalow/certn-python-public.png)](https://travis-ci.com/livebungalow/certn-python-public)\n\n[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)\n\n[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)\n\n\nA python client for Certn API\n\n\nInstallation\n------------\n\n```bash\npip install certn-python\n```\n\nRequirements\n------------\n\n - ```requests>=2,<3```\n\nBasic Usage\n-----------\n\nSubmit an application and check its results\n\n\n```python\nfrom certn import Client\nimport time\n\n\nclient = Client(username='*****' password='***')\n\nbody = {\n \"information\": {\n \"first_name\": \"Fake\",\n \"last_name\": \"Name\",\n \"date_of_birth\": \"1987-03-04\",\n \"addresses\": [\n {\n \"address\": \"123 fakestreet\",\n \"city\": \"VICTORIA\",\n \"province_state\": \"BC\",\n \"country\": \"CA\"\n }\n ]\n }\n}\n\napplication = client.Applications.quick(body)\n\nwhile application.status == 'Analyzing':\n time.sleep(5) # 2-10 seconds to process, but can occasionally take up to 300 seconds\n application = client.Applicants.get(application.id)\n\nprint('Application has returned!')\n\nclient.logout()\n```\n\nInvite an applicant to apply\n\n```python\nfrom certn import Client\n\nclient = Client(username='*****' password='***')\n\nbody = {\n 'email': 'fake@fake.com',\n 'email_applicants': False\n}\n\napplication = client.Applications.invite(body)\n\nclient.logout()\n```\n\nList all the logged in sessions and log them all count\n\n```python\n\nfrom certn import Client\n\nclient = Client(username='*****' password='***')\n\nclient.Auth.list()\n\nclient.Auth.logout_all()\n```\n\nadd a property, list, get the property information and remove the property\n\n```python\nfrom certn import Client\n\nclient = Client(username='*****' password='***')\n\nbody = {\n 'address': '123 fakestreet',\n 'city': 'VICTORIA',\n 'province_state': 'BC',\n 'owner_id': client.user_id,\n}\n\nproperty = client.Properties.add(body)\n\nclient.Properties.list()\n\nclient.Properties.get(property.get('id'))\n\nclient.Properties.delete(property.get('id'))\n\nclient.logout()\n```\n\nadd a listing, list, get the listings information and remove the listing\n\n```python\nfrom certn import Client\n\nclient = Client(username='*****' password='***')\n\nbody = {\n 'address': '123 fakestreet',\n 'city': 'VICTORIA',\n 'province_state': 'BC',\n 'owner_id': client.user_id,\n}\n\nproperty = client.Properties.add(body)\n\nbody = {\n 'rent': 1000,\n 'owner_id': client.user_id,\n 'property_id': property.get('id'),\n 'notification_list_ids': [],\n}\n\nlisting = client.Listings.add(body)\n\nclient.Listings.list()\n\nclient.Listings.get(listing.get('id'))\n\nclient.Listings.delete(listing.get('id'))\n\nclient.Properties.delete(property.get('id'))\n\nclient.logout()\n```\n\ncan also be called alternatively\n\n```python\nfrom certn import Client\n\nwith Client(username, password) as client:\n client.Listings.list()\n\n```\n\nAuthors\n-------\n\n`certn-python` was written by `Bungalow Living `.\n\n\n[certn-python](#certn-python) was written by [Bungalow\nLiving](engineering@bungalow.com).\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/livebungalow/certn-python-public", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "certn-python", "package_url": "https://pypi.org/project/certn-python/", "platform": "", "project_url": "https://pypi.org/project/certn-python/", "project_urls": { "Homepage": "https://github.com/livebungalow/certn-python-public" }, "release_url": "https://pypi.org/project/certn-python/1.2.3/", "requires_dist": [ "requests (<3,>=2)" ], "requires_python": "", "summary": "A python client for Certn API", "version": "1.2.3" }, "last_serial": 5477609, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "1d0815c4b01de0e3cd52c34e802bef95", "sha256": "d962820c40a37161f4d5c6d61924f4792e1a92897b07096c8a8b8c415266fc04" }, "downloads": -1, "filename": "certn_python-0.0.1-py3.7.egg", "has_sig": false, "md5_digest": "1d0815c4b01de0e3cd52c34e802bef95", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 17462, "upload_time": "2019-07-02T17:21:52", "url": "https://files.pythonhosted.org/packages/b5/79/79dbf1231bb8a9e6f3d0599eacb55026f9847afc1a8e378573adeca21e3f/certn_python-0.0.1-py3.7.egg" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "b465b5fe1ae03b139cf33626088b0800", "sha256": "958586e61704fea4b723bdc1c9020a25de751d4814beb1aaf80eadf479aed8c6" }, "downloads": -1, "filename": "certn_python-1.0.0-py3.6.egg", "has_sig": false, "md5_digest": "b465b5fe1ae03b139cf33626088b0800", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 19241, "upload_time": "2019-07-02T17:21:54", "url": "https://files.pythonhosted.org/packages/24/71/5d11d46aabada186a7e19a72384bb055205c62798b6562613e16ba9f9ae5/certn_python-1.0.0-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "54ee51e4a76d89d6deecefe873ef4fa0", "sha256": "f6f8121dcbfc376997c10a514fc19258d707087ace4d5bedf7133f5af03b1cb7" }, "downloads": -1, "filename": "certn_python-1.0.0-py3.7.egg", "has_sig": false, "md5_digest": "54ee51e4a76d89d6deecefe873ef4fa0", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 19109, "upload_time": "2019-07-02T17:21:55", "url": "https://files.pythonhosted.org/packages/81/bd/51ef27fc9f991386f402bfd67f9d6b34c7618f9554c76bec132ce8d42738/certn_python-1.0.0-py3.7.egg" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "809717fa4f5d08356b86b5ddca0cf4b5", "sha256": "bcf2b27e3cac3d8c6e518658f30630a21a355e1b4f599494b695dad617a73bbf" }, "downloads": -1, "filename": "certn_python-1.0.2-py3.6.egg", "has_sig": false, "md5_digest": "809717fa4f5d08356b86b5ddca0cf4b5", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 19209, "upload_time": "2019-07-02T17:21:57", "url": "https://files.pythonhosted.org/packages/d4/07/63d2b2bba65cc550f5dd79c21e5586e1a7ed4ce647bba216a05cd7d50cbf/certn_python-1.0.2-py3.6.egg" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "a425753e8430eac0f232cc67f314c805", "sha256": "32cb6bc5d76057544ed7e90179edb2cbbe78c693b8423956a0205504af947c92" }, "downloads": -1, "filename": "certn_python-1.1.0-py3.6.egg", "has_sig": false, "md5_digest": "a425753e8430eac0f232cc67f314c805", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 21754, "upload_time": "2019-07-02T17:21:58", "url": "https://files.pythonhosted.org/packages/f7/37/e24ea75fe0154a957a730b5fba6bea286dd8a9ad1884416c611dd278c427/certn_python-1.1.0-py3.6.egg" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "fb9eedaf1f940977d57e2c76be623ca9", "sha256": "3541d5539479939b90b081fdf4e4ebdca52f000f256645596ab6c8b5702afbae" }, "downloads": -1, "filename": "certn_python-1.2.0-py3.6.egg", "has_sig": false, "md5_digest": "fb9eedaf1f940977d57e2c76be623ca9", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 21753, "upload_time": "2019-07-02T17:21:59", "url": "https://files.pythonhosted.org/packages/cd/2d/684a23371c646f921e7817b971a29a4476457350b61521e680e550e094d3/certn_python-1.2.0-py3.6.egg" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "70fc53addbf936dfd7d79b50c039cb2d", "sha256": "8aea14cd1b496406264777b5b2e4d57ff0c34bbd5012e523761b9910a2bf9456" }, "downloads": -1, "filename": "certn_python-1.2.1-py3.6.egg", "has_sig": false, "md5_digest": "70fc53addbf936dfd7d79b50c039cb2d", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 21912, "upload_time": "2019-07-02T17:22:00", "url": "https://files.pythonhosted.org/packages/c7/bc/3a8feb1e0085472be91573d9907bff532f744790acae4f84ffcf9c54e71f/certn_python-1.2.1-py3.6.egg" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "3f7b741d6bd19e50deb665a7905c0434", "sha256": "3e0ba2e9fa1c9bdc4b90d5fc3ee1433b616f7c349164cdda57b27e82167fc889" }, "downloads": -1, "filename": "certn_python-1.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "3f7b741d6bd19e50deb665a7905c0434", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10583, "upload_time": "2019-07-02T17:21:46", "url": "https://files.pythonhosted.org/packages/2d/ac/dfdd51a57ee1c78dbeddc293390f1f69af77c6a50b20f6e977753706fb5d/certn_python-1.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bdb1d07e771e37a8489d7e4bea809c29", "sha256": "b534162e82344f9c42688e26f2abebf70e9105661c7ffff3d8bcc54facef7759" }, "downloads": -1, "filename": "certn-python-1.2.2.tar.gz", "has_sig": false, "md5_digest": "bdb1d07e771e37a8489d7e4bea809c29", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8355, "upload_time": "2019-07-02T17:21:50", "url": "https://files.pythonhosted.org/packages/20/8f/b78a713a03188022277d758c9766467681318ec7049185c8a0a92b7c0075/certn-python-1.2.2.tar.gz" } ], "1.2.3": [ { "comment_text": "", "digests": { "md5": "921425fa049ad1635f64aa596f85c5e0", "sha256": "7f633f1d6a1ce704061f08ee057b6fc91406a10f5875e6e887c1514111c90296" }, "downloads": -1, "filename": "certn_python-1.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "921425fa049ad1635f64aa596f85c5e0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10592, "upload_time": "2019-07-02T17:21:49", "url": "https://files.pythonhosted.org/packages/81/6b/1a0e5f10cfc730c013b78378a4592f1bf3ab12b993507a5b2fb3004b1d08/certn_python-1.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9b2d089491c827b7a533fe73cec6c891", "sha256": "35720876a6055ad45e1aa26d69a8f062d0c7be55c10251b348781371927dc1fe" }, "downloads": -1, "filename": "certn-python-1.2.3.tar.gz", "has_sig": false, "md5_digest": "9b2d089491c827b7a533fe73cec6c891", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8391, "upload_time": "2019-07-02T17:21:51", "url": "https://files.pythonhosted.org/packages/cb/96/82e641101ebfddd59397b4c0005be3dbb3dceccf562a9af3af28e76f5c1a/certn-python-1.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "921425fa049ad1635f64aa596f85c5e0", "sha256": "7f633f1d6a1ce704061f08ee057b6fc91406a10f5875e6e887c1514111c90296" }, "downloads": -1, "filename": "certn_python-1.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "921425fa049ad1635f64aa596f85c5e0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10592, "upload_time": "2019-07-02T17:21:49", "url": "https://files.pythonhosted.org/packages/81/6b/1a0e5f10cfc730c013b78378a4592f1bf3ab12b993507a5b2fb3004b1d08/certn_python-1.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9b2d089491c827b7a533fe73cec6c891", "sha256": "35720876a6055ad45e1aa26d69a8f062d0c7be55c10251b348781371927dc1fe" }, "downloads": -1, "filename": "certn-python-1.2.3.tar.gz", "has_sig": false, "md5_digest": "9b2d089491c827b7a533fe73cec6c891", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8391, "upload_time": "2019-07-02T17:21:51", "url": "https://files.pythonhosted.org/packages/cb/96/82e641101ebfddd59397b4c0005be3dbb3dceccf562a9af3af28e76f5c1a/certn-python-1.2.3.tar.gz" } ] }