{"id":28353976,"url":"https://github.com/brewingcode/reddit-api","last_synced_at":"2026-06-20T04:32:01.694Z","repository":{"id":81429249,"uuid":"69709337","full_name":"brewingcode/reddit-api","owner":"brewingcode","description":"Python scripts that do stuff with the Reddit API","archived":false,"fork":false,"pushed_at":"2016-11-09T01:29:19.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-21T22:36:25.543Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/brewingcode.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,"zenodo":null}},"created_at":"2016-09-30T23:42:27.000Z","updated_at":"2019-07-15T21:33:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"7bb66534-27fc-4f6e-8b8c-132024bd3126","html_url":"https://github.com/brewingcode/reddit-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brewingcode/reddit-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brewingcode%2Freddit-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brewingcode%2Freddit-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brewingcode%2Freddit-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brewingcode%2Freddit-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brewingcode","download_url":"https://codeload.github.com/brewingcode/reddit-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brewingcode%2Freddit-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34557551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-05-28T02:09:28.492Z","updated_at":"2026-06-20T04:32:01.683Z","avatar_url":"https://github.com/brewingcode.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reddit-api\n\nPython scripts that do stuff with the Reddit API.\n\n## example\n\n```\n$ cat ~/.reddit-creds\nREDDIT_CREDS=/p-jcoLKBynTLew/gko_LXELoV07ZBNUXrvWZfzE3aI/reddit_bot/snoo\nexport REDDIT_CREDS\n$ source ~/.reddit-creds\n$ ./api.py live/xnrdv28vxfi2 | jq .\n{\n  \"kind\": \"Listing\",\n  \"data\": {\n    \"modhash\": null,\n    \"children\": [\n      {\n        \"kind\": \"LiveUpdate\",\n        \"data\": {\n          \"body\": \"Elon Musk comparing Mars and Earth - relatively similar temperatures, times, etc., especially after terraforming.\",\n          \"name\": \"LiveUpdate_45bc84fe-84e5-11e6-87b4-0e83b6d79559\",\n          \"created\": 1475031893,\n          \"embeds\": [],\n          \"author\": \"Zucal\",\n          \"created_utc\": 1475003093,\n          \"body_html\": \"\u0026lt;div class=\\\"md\\\"\u0026gt;\u0026lt;p\u0026gt;Elon Musk comparing Mars and Earth - relatively similar temperatures, times, etc., especially after terraforming.\u0026lt;/p\u0026gt;\\n\u0026lt;/div\u0026gt;\",\n          \"stricken\": false,\n          \"id\": \"45bc84fe-84e5-11e6-87b4-0e83b6d79559\"\n        }\n      },\n      ...\n\n$ ./watch_thread xnrdv28vxfi2\n2016-09-27T20:03:57+00:00 https://twitter.com/NASASpaceflight/status/780860452024745985 --Zucal\n2016-09-27T20:04:09+00:00 Now moving into Q\u0026amp;A. --Wetmelon\n2016-09-27T20:04:58+00:00 Question is about manufacturing site, and prepping the Cape Canaveral launch site. --Zucal\n2016-09-27T20:05:13+00:00 https://twitter.com/NASASpaceflight/status/780860701623607296 --Zucal\n```\n\n## oauth credentials\n\nYour credentials are passed via the `REDDIT_CREDS` environment variable. This\nis simply four credentials, separated by a character of your choice. Clearly,\nmake sure the separating character does not occur in any of the four\ncredentials.\n\nThe four credentials, in order, are:\n\n1. Application ID\n2. Application secret\n3. Reddit username\n4. Reddit pasword\n\nThe first two should be pulled from a \"personal use script\" that is associated\nwith your reddit account. See the getting started guide here:\n\nhttps://github.com/reddit/reddit/wiki/OAuth2-Quick-Start-Example\n\nThe last two are your reddit username and password, exactly as you would\nexpect.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrewingcode%2Freddit-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrewingcode%2Freddit-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrewingcode%2Freddit-api/lists"}