github octolytics parser
Project description
Installation
$ [sudo] pip install github-octolytics
Examples
>>> import github_octolytics
>>> github_octolytics.get('https://github.com/django/django')
{'octolytics-host': 'collector.githubapp.com', 'octolytics-app-id': 'github', 'octolytics-event-url': 'https://collector.githubapp.com/github-external/browser_event', 'octolytics-dimension-request_id': '6C86:1AB6A:1553F2A:20148E0:5DB5986A', 'octolytics-dimension-region_edge': 'ams', 'octolytics-dimension-region_render': 'iad', 'octolytics-dimension-ga_id': '', 'octolytics-dimension-visitor_id': 6848789782742800491, 'octolytics-dimension-user_id': 27804, 'octolytics-dimension-user_login': 'django', 'octolytics-dimension-repository_id': 4164482, 'octolytics-dimension-repository_nwo': 'django/django', 'octolytics-dimension-repository_public': True, 'octolytics-dimension-repository_is_fork': False, 'octolytics-dimension-repository_network_root_id': 4164482, 'octolytics-dimension-repository_network_root_nwo': 'django/django', 'octolytics-dimension-repository_explore_github_marketplace_ci_cta_shown': False}
>>> import requests
>>> r = requests.get('https://github.com/django/django')
>>> github_octolytics.parse(r.text)
{...}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for github-octolytics-2020.12.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ca82f8d260b37f949830a72ca7c3c4f5e25fd9c11e2768675bf88671de1fb69 |
|
MD5 | 0da5133e60529c834dda1750481e1946 |
|
BLAKE2b-256 | 1a0a94bdc495456b4f62dcae17ba0bd5ae7fd8062c6986ec6c8dd8ad4c4ddc90 |