{"id":15325966,"url":"https://github.com/tejasa97/github_traffic","last_synced_at":"2025-04-15T02:52:39.509Z","repository":{"id":106774777,"uuid":"190786023","full_name":"tejasa97/github_traffic","owner":"tejasa97","description":"A GitHub traffic scraper to keep you on top of your repository traffic stats.","archived":false,"fork":false,"pushed_at":"2019-10-01T09:44:06.000Z","size":13,"stargazers_count":12,"open_issues_count":4,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-15T02:52:33.530Z","etag":null,"topics":["github-traffic","python","repository","traffic-stats"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tejasa97.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-07T17:48:32.000Z","updated_at":"2023-10-02T12:05:59.000Z","dependencies_parsed_at":"2023-05-05T21:12:46.362Z","dependency_job_id":null,"html_url":"https://github.com/tejasa97/github_traffic","commit_stats":{"total_commits":11,"total_committers":3,"mean_commits":"3.6666666666666665","dds":0.4545454545454546,"last_synced_commit":"cbfc89bc7ae1051f49165472a3f8d8036765698c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejasa97%2Fgithub_traffic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejasa97%2Fgithub_traffic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejasa97%2Fgithub_traffic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejasa97%2Fgithub_traffic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tejasa97","download_url":"https://codeload.github.com/tejasa97/github_traffic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248997087,"owners_count":21195797,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-traffic","python","repository","traffic-stats"],"created_at":"2024-10-01T09:34:02.612Z","updated_at":"2025-04-15T02:52:39.491Z","avatar_url":"https://github.com/tejasa97.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Traffic\n\nLike to to keep tabs on your GitHub account **traffic** statistics? \u003cbr\u003e\nFret no more.\n\nPresenting, a GitHub traffic scraper to keep you on top of your repository traffic stats.\n\n## A couple of pre-requisites before you kick off.\n1. ***GitHub Personal Access token***! (because identity).\u003cbr\u003e\nJust generate a new token (can set it up for only **repo read** permissions); you can also use an existing one. \u003cbr\u003e\nAssign it to ***token*** in the **config.ini** file. \u003cbr\u003e\n\n```\n[github]\ntoken=\u003cpersonal_access_token\u003e\n```\n\n\n2. ***Install the official python GitHub package (pyGithub) and pandas***. \u003cbr\u003e\n`pip install -r requirements.txt`\n\n### Fire it up! \u003cbr\u003e\n`python get_traffic.py` \u003cbr\u003e\nThe traffic stats of all repositories associated with the user are stored in the CSV `\u003cuser_name\u003e.csv`. \u003cbr\u003e\n\nPS : Open to your suggestions and enhancements. Plan to make it a cron job that regularly updates you of the current traffic!\n\nPlease Star the repo if you found it interesting!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftejasa97%2Fgithub_traffic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftejasa97%2Fgithub_traffic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftejasa97%2Fgithub_traffic/lists"}