https://github.com/vclemenzi/reddapi
An api that use web scraping to get data from reddit
https://github.com/vclemenzi/reddapi
Last synced: 3 months ago
JSON representation
An api that use web scraping to get data from reddit
- Host: GitHub
- URL: https://github.com/vclemenzi/reddapi
- Owner: vclemenzi
- Created: 2023-06-24T12:19:57.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-05T11:51:40.000Z (almost 2 years ago)
- Last Synced: 2025-02-15T08:14:42.992Z (3 months ago)
- Language: TypeScript
- Size: 21.5 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🥤 Reddapi
🐢 This is an API built in Deno that uses web scraping to retrieve data. The API currently consists of only a few endpoints, but it could be expanded in the future.### 📄 Endpoints
1. `/r/:subreddit` -> Get information about the subreddit.
2. `/r/:subreddit/hot` -> Get the latest hot posts from the subreddit.
3. `/r/:subreddit/new` -> Get the newest posts from the subreddit.
4. `/r/:subreddit/top` -> Get the top posts from the subreddit.
5. `/u/:user` -> Get information about a user.### 📎 Try
1. Download the repository
```
$ git clone https://github.com/vclemenzi/reddapi
```2. Open the directory
```shell
$ cd reddapi
```3. Run it
```shell
$ deno task start
```