An open API service indexing awesome lists of open source software.

https://github.com/burritosoftware/rpanchat


https://github.com/burritosoftware/rpanchat

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

# rpanchat

This is a tiny, unofficial python module for streaming live comments from RPAN
(Reddit Public Access Network)

*Remember to always follow the Reddit API guidelines!*

### Example of usage:
```python
from rpanchat import RPANChat

chat = RPANChat(user_agent='Test app for private use (by u/redditusername)')
stream_id = input("Stream ID: ")
chat.connect(stream_id)
for comment in chat:
print(comment.author + ': ' + comment.body)
```

###Installation:
```
pip install https://github.com/dominikrowinski/rpanchat/tarball/master
```