{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "\n\n[![](https://img.shields.io/pypi/pyversions/github-api-v3.svg?longCache=True)](https://pypi.org/project/github-api-v3/)\n\n#### Installation\n```bash\n$ [sudo] pip install github-api-v3\n```\n\n#### Config\nshell|python\n-|-\n`export GITHUB_TOKEN=\"\"`|`os.environ[\"GITHUB_TOKEN\"]=\"\"`\n\n#### Functions\nfunction|`__doc__`\n-|-\n`github_api_v3.get(url, headers=None)` |make GET request and return a dictionary result\n`github_api_v3.getall(url, headers=None)` |make GET requests for all pages and return a list of concatenated results\n`github_api_v3.request(method, url, data=None, **kwargs)` |make request and return a response object\n`github_api_v3.timestamp.istimestamp(value)` |return True if string is ISO 8601 timestamp, else False\n`github_api_v3.timestamp.parse(string)` |parse datetime string and return a datetime object\n\n#### Examples\nget starred repos\n```python\nimport github_api_v3\n\nurl = \"https://api.github.com/user/starred\"\nheaders = {\"Accept\": \"application/vnd.github.v3.star+json, application/vnd.github.mercy-preview+json\"}\ngithub_api_v3.getall(url, headers=headers)\n```\n\n

\n python-readme-generator\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/looking-for-a-job/github-api-v3.py", "keywords": "github api", "license": "", "maintainer": "", "maintainer_email": "", "name": "github-api-v3", "package_url": "https://pypi.org/project/github-api-v3/", "platform": "", "project_url": "https://pypi.org/project/github-api-v3/", "project_urls": { "Homepage": "https://github.com/looking-for-a-job/github-api-v3.py" }, "release_url": "https://pypi.org/project/github-api-v3/2019.5.1/", "requires_dist": null, "requires_python": "", "summary": "GitHub API v3", "version": "2019.5.1" }, "last_serial": 5587873, "releases": { "2019.5.1": [ { "comment_text": "", "digests": { "md5": "cbc0547dbc3c10bc2528aec2a5ad5a5c", "sha256": "9daae06c64bae41df449c4b2bbeb2c725b2a20bf283c3905b5c2aef079125908" }, "downloads": -1, "filename": "github-api-v3-2019.5.1.tar.gz", "has_sig": false, "md5_digest": "cbc0547dbc3c10bc2528aec2a5ad5a5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2116, "upload_time": "2019-04-30T07:18:27", "url": "https://files.pythonhosted.org/packages/3e/01/5a003cb8dae0947534f0a8cf5133084a388b76033963d62a1b50d5ccad69/github-api-v3-2019.5.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cbc0547dbc3c10bc2528aec2a5ad5a5c", "sha256": "9daae06c64bae41df449c4b2bbeb2c725b2a20bf283c3905b5c2aef079125908" }, "downloads": -1, "filename": "github-api-v3-2019.5.1.tar.gz", "has_sig": false, "md5_digest": "cbc0547dbc3c10bc2528aec2a5ad5a5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2116, "upload_time": "2019-04-30T07:18:27", "url": "https://files.pythonhosted.org/packages/3e/01/5a003cb8dae0947534f0a8cf5133084a388b76033963d62a1b50d5ccad69/github-api-v3-2019.5.1.tar.gz" } ] }