{ "info": { "author": "Craft Machine Inc", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "## PYCRAFTCO\n\n[![CircleCI](https://circleci.com/gh/craft-machine/pycraftco.svg?style=svg)](https://circleci.com/gh/craft-machine/pycraftco)\n\n**pycraftco** is a Python library that serves as a convenient wrapper for [Craft API](https://api.craft.co/docs/v1).\n\n### Installation\n\nYou can install package via `pip`:\n\n $ pip install pycraftco\n\n### Usage\n\nThe snippet below will retrieve name and offices of Facebook. For all available information\nplease refer to https://api.craft.co/docs/v1/reference/company.doc.html. However, please note\nthat the API documentation have all fields in camel case but the lib have them\nunderscore-separated.\n\n```python\nfrom pycraftco import get_company\n\napi_key = 'qfNfdijpFhbhPhA7j2ZxvtEGkfv8DftTtmTEbnWN'\n\n# specify what data to load in the callback\ndef company_query(company):\n company.display_name()\n company.locations.city()\n company.locations.hq()\n\n# You can use duns, name_constains or domain to search for companies\nc = get_company(company_query, name_contains='Facebook', api_key=os.environ['API_KEY'])\n```\n\nThe code uses the test key that allows access to Facebook data only. Please, visit\nhttps://craft.co/business#business-form to request more permissive key.\n\n### Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/craft-machine/pycraftco .\n\n### License\n\nThe pip package is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).", "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/craft-machine/pycraftco", "keywords": "SDK,API", "license": "", "maintainer": "", "maintainer_email": "", "name": "pycraftco", "package_url": "https://pypi.org/project/pycraftco/", "platform": "", "project_url": "https://pypi.org/project/pycraftco/", "project_urls": { "Homepage": "https://github.com/craft-machine/pycraftco" }, "release_url": "https://pypi.org/project/pycraftco/0.1/", "requires_dist": null, "requires_python": "", "summary": "pycraftco is a Python library that serves as a convenient wrapper for Craft API (https://api.craft.co/docs/v1)", "version": "0.1" }, "last_serial": 4507806, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "ba66ef849a0914969f869544f267b867", "sha256": "7bb499dced9b4a39e9271067253c5f5d3e19bd411e0946621a34c2c22534609c" }, "downloads": -1, "filename": "pycraftco-0.0.1.tar.gz", "has_sig": false, "md5_digest": "ba66ef849a0914969f869544f267b867", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6827, "upload_time": "2018-11-20T13:42:55", "url": "https://files.pythonhosted.org/packages/28/95/82d246e1f3fec503c8e1af7361c4791c55429b3f789d617cb7aad27c06bb/pycraftco-0.0.1.tar.gz" } ], "0.1": [ { "comment_text": "", "digests": { "md5": "952a069a441bb7257cb8564962c35af6", "sha256": "7dd079c26a99e6a31d67475989e80534147060f1bc1b3f4b74e2f39da776f02d" }, "downloads": -1, "filename": "pycraftco-0.1.tar.gz", "has_sig": false, "md5_digest": "952a069a441bb7257cb8564962c35af6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6947, "upload_time": "2018-11-20T14:55:19", "url": "https://files.pythonhosted.org/packages/e2/e5/6362dac4972068771aaf77c65667d76e5ab9736d4d4b527416404ba33047/pycraftco-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "952a069a441bb7257cb8564962c35af6", "sha256": "7dd079c26a99e6a31d67475989e80534147060f1bc1b3f4b74e2f39da776f02d" }, "downloads": -1, "filename": "pycraftco-0.1.tar.gz", "has_sig": false, "md5_digest": "952a069a441bb7257cb8564962c35af6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6947, "upload_time": "2018-11-20T14:55:19", "url": "https://files.pythonhosted.org/packages/e2/e5/6362dac4972068771aaf77c65667d76e5ab9736d4d4b527416404ba33047/pycraftco-0.1.tar.gz" } ] }