{"repo":"turnage/graw","free":true,"listed":false,"github":"https://github.com/turnage/graw","clone":"git clone https://github.com/turnage/graw.git","description":"Golang Reddit API Wrapper","language":"Go","stars":296,"topics":["reddit","bot"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"graw -------------------------------------------------------------------------------- go get github.com/turnage/graw graw is a library for building Reddit bots that takes care of everything you don't want to. Read the tutorial book! As of major version 1, the API promise is: no breaking changes, ever. Details below. This applies to all (library) subpackages of graw. Usage The design of graw is that your bot is a handler for events, Reddit is a source of events, and graw connects the two. If you want to announce all the new posts in a given subreddit, this is your bot: Give this to graw with an api handle from the reddit package and a tell it what events you want to subscribe to; graw will take care of the rest. See the godoc and tutorial book for more information. Features The primary feature of graw is robust event streams. graw supports many exciting event streams: New posts in subreddits. New comments in subreddits. New posts or comments by users. Private messages sent to the bot. Replies to the bot's posts. Replies to the bot's comments. Mentions of the bot's username. Processing all of these events is as as simple as implementing a method to receive them! graw also provides two lower level packages for developers to tackle other interactions with Reddit like one-shot scripts and bot actions. See subdirectories in the godoc. API Promise As of version 1.0.0, the graw API is stable. I will not make any backwards incompatible changes, ever. The only exceptions are: I may add","default_branch":null,"files":null,"tree":[],"storefront":"/r/turnage","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/turnage/graw/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}