Add API to Readme.
This commit is contained in:
parent
cf037c58e0
commit
2bd37c53bf
|
@ -111,6 +111,12 @@ cd torrents.csv/scripts
|
||||||
./update.sh SAVE_TORRENT_DIR
|
./update.sh SAVE_TORRENT_DIR
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## API
|
||||||
|
|
||||||
|
A JSON output of search results is available at:
|
||||||
|
|
||||||
|
http://localhost:8080/service/search?q=[QUERY]&size=[NUMBER_OF_RESULTS]&offset=[PAGE]
|
||||||
|
|
||||||
## How the torrents.csv file looks
|
## How the torrents.csv file looks
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|
Loading…
Reference in New Issue