langchain/docs/extras/ecosystem/integrations/reddit.mdx
Davis Chase 87e502c6bc
Doc refactor (#6300)
Co-authored-by: jacoblee93 <jacoblee93@gmail.com>
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2023-06-16 11:52:56 -07:00

23 lines
539 B
Plaintext

# Reddit
>[Reddit](www.reddit.com) is an American social news aggregation, content rating, and discussion website.
## Installation and Setup
First, you need to install a python package.
```bash
pip install praw
```
Make a [Reddit Application](https://www.reddit.com/prefs/apps/) and initialize the loader with with your Reddit API credentials.
## Document Loader
See a [usage example](/docs/modules/data_connection/document_loaders/integrations/reddit.html).
```python
from langchain.document_loaders import RedditPostsLoader
```