Skip to content

Commit d1b88d4

Browse files
authored
added api usage example
1 parent 58b3d9c commit d1b88d4

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

README.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,31 @@ $ git clone https://github.com/Ryuk-me/Torrents-Api
1313
$ npm start
1414

1515
```
16-
17-
## Keywords
18-
19-
Website | Keyword | Url
20-
------------ | ------------- | -------------
21-
1337x | 1337x | https://1337xx.to
22-
Yts | yts | https://yts.mx
23-
Eztv | eztv | https://eztv.re
24-
Torrent Galaxy | tgx | https://torrentgalaxy.to
25-
Torlock | torlock | https://www.torlock.com
26-
PirateBay | piratebay | https://thehiddenbay.com
27-
Nyaa.si | nyaasi | https://nyaa.si
28-
Rarbg | rarbg | https://rargb.to
29-
all | all (it will retrieve torrent from every site)
30-
31-
3216
---
17+
3318
# How it works
3419

3520
```
3621
$ /api/{website name}/{query}/{page(optional)}
3722
3823
```
3924
---
25+
26+
## Keywords
27+
28+
Website | Keyword | Url | Example
29+
------------ | ------------- | ------------- | -------------
30+
1337x | 1337x | https://1337xx.to | [/api/1337x/avengers](https://torrenter-api.herokuapp.com/api/1337x/avengers)
31+
Yts | yts | https://yts.mx | [/api/yts/avengers](https://torrenter-api.herokuapp.com/api/yts/avengers)
32+
Eztv | eztv | https://eztv.re | [/api/eztv/avengers](https://torrenter-api.herokuapp.com/api/eztv/avengers)
33+
Torrent Galaxy | tgx | https://torrentgalaxy.to | [/api/tgx/avengers](https://torrenter-api.herokuapp.com/api/tgx/avengers)
34+
Torlock | torlock | https://www.torlock.com | [/api/torlock/avengers](https://torrenter-api.herokuapp.com/api/torlock/avengers)
35+
PirateBay | piratebay | https://thehiddenbay.com | [/api/piratebay/avengers](https://torrenter-api.herokuapp.com/api/piratebay/avengers)
36+
Nyaa.si | nyaasi | https://nyaa.si | [/api/nyaa/umaru](https://torrenter-api.herokuapp.com/api/nyaa/umaru)
37+
Rarbg | rarbg | https://rargb.to | [/api/rarbg/avengers](https://torrenter-api.herokuapp.com/api/rargb/avengers)
38+
all | all (it will retrieve torrent from every site) | | [/api/all](https://torrenter-api.herokuapp.com/api/all/avengers)
39+
40+
4041
### Example
4142

4243
```

0 commit comments

Comments
 (0)