Spaces:
Sleeping
Sleeping
|
Download docs/reddit_data_schema.md from vn6295337/Researcher-Agent: direct link, hf CLI and curl.
- Browser
- Download file 471 Bytes
-
https://huggingface.co/spaces/vn6295337/Researcher-Agent/resolve/main/docs/reddit_data_schema.md
- Command line
-
hf download hf://spaces/vn6295337/Researcher-Agent/docs/reddit_data_schema.md
-
curl -L -o reddit_data_schema.md https://huggingface.co/spaces/vn6295337/Researcher-Agent/resolve/main/docs/reddit_data_schema.md
471 Bytes
| ## Search Endpoint | |
| `GET https://www.reddit.com/r/{subreddit}/search.json` | |
| ## Request Parameters | |
| ``` | |
| q | |
| sort (relevance, top, new, comments) | |
| t (week, month, all) | |
| limit (1-100) | |
| restrict_sr (true/false) | |
| ``` | |
| ## Request Headers | |
| ``` | |
| User-Agent (required) | |
| ``` | |
| ## Response Structure | |
| ``` | |
| data | |
| children[] | |
| data | |
| title | |
| selftext | |
| permalink | |
| ups | |
| created_utc | |
| ``` | |
| ## Subreddits Searched | |
| ``` | |
| wallstreetbets | |
| stocks | |
| ``` | |