{"id":18961310,"url":"https://github.com/gregkrsak/nutroll","last_synced_at":"2026-04-01T12:30:19.578Z","repository":{"id":144964502,"uuid":"91531314","full_name":"gregkrsak/nutroll","owner":"gregkrsak","description":"A sample Python-language application intended to demonstrate connecting to Reddit via the PRAW library.","archived":false,"fork":false,"pushed_at":"2018-04-11T04:22:50.000Z","size":13,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-18T07:57:18.447Z","etag":null,"topics":["beer","praw","python","python3","reddit","reddit-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gregkrsak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-05-17T03:51:38.000Z","updated_at":"2018-04-11T04:22:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"90fa4234-cdb8-48f8-a276-1850b93184f3","html_url":"https://github.com/gregkrsak/nutroll","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregkrsak%2Fnutroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregkrsak%2Fnutroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregkrsak%2Fnutroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregkrsak%2Fnutroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregkrsak","download_url":"https://codeload.github.com/gregkrsak/nutroll/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239958284,"owners_count":19724925,"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":["beer","praw","python","python3","reddit","reddit-api"],"created_at":"2024-11-08T14:12:17.806Z","updated_at":"2026-04-01T12:30:19.479Z","avatar_url":"https://github.com/gregkrsak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"nutroll\n=======\n\n\n[![Python](https://img.shields.io/badge/language-python-blue.svg)](https://github.com/gregkrsak/nutroll/blob/master/nutroll)\n\n\nThis is a sample Python-language application intended to demonstrate connecting to Reddit via the [PRAW] library.\n\nWhat you'll need to to start\n----------------------------\n\n* Download and install [Python], if you haven't already.\n\n* Install the [PRAW] library (You may be able to do this with the administrator command ```pip install praw```).\n\n* [Create a \"script\" app on Reddit] (The \"redirect uri\" field can be ```http://localhost```).\n\n* Modify the ```nutroll``` file to include your Reddit app credentials:\n```python\nreturn praw.Reddit(\n  client_id='mHJAei1MCbztxw',\n  client_secret='G74uVCX9K5MnyBcNhDFwpwqVZtY',\n  #...\n)\n```\n\nWhere the ```client_id``` and ```client_secret``` are obtained from your Reddit app settings.\n\nExample of running the ```nutroll``` application:\n----------------------------------------------------\n\n* Success:\n```\n$ ./nutroll your_reddit_username\nScanning for nut rolls (this may take several seconds)...\nNut roll detected: https://www.reddit.com/comments/6alu1h\n```\n* Failure:\n```\n$ ./nutroll your_reddit_username\nScanning for nut rolls (this may take several seconds)...\nNo nut rolls this week.\n\n```\n* PEBKAC:\n```\n$ ./nutroll your_reddit_username\nScanning for nut rolls (this may take several seconds)...\nUnable to reach Reddit. Did you setup your credentials properly?\n\n```\n\n\nAdditional resources\n--------------------\n\n* [How do I use Git?]\n\n* [Download GitHub Desktop for Windows or Mac]\n\n* [Download Git for Linux]\n\n* http://en.wikipedia.org/wiki/Git_(software)\n\n\nAbout\n-----\n\nnutroll was developed by [Greg M. Krsak] using [PyCharm] Community 2017.1 on [Linux Mint] 18.1.\n\nPlease submit bugs to [the issues page] and feel free to contribute pull requests.\n\n  [PRAW]: https://github.com/praw-dev/praw\n  [Python]: https://www.python.org/\n  [Create a \"script\" app on Reddit]: https://www.reddit.com/prefs/apps\n  [How do I use Git?]: http://git-scm.com/documentation\n  [Download GitHub Desktop for Windows or Mac]: https://desktop.github.com/\n  [Download Git for Linux]: http://git-scm.com/download/linux\n  [Greg M. Krsak]: https://github.com/gregkrsak\n  [PyCharm]: https://www.jetbrains.com/pycharm/\n  [Linux Mint]: https://linuxmint.com/\n  [the issues page]: https://github.com/gregkrsak/nutroll/issues\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregkrsak%2Fnutroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregkrsak%2Fnutroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregkrsak%2Fnutroll/lists"}