aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRitesh Ghosh <[email protected]>2024-08-14 22:38:44 +0530
committerGitHub <[email protected]>2024-08-14 22:38:44 +0530
commitb87c1d4e678de9b421d6dd96c980902e4581d535 (patch)
treec028f340b2a64deab66d4db836ad2a9d11b447df
parent080d17818ff9ed7282670111b5775de0c424913e (diff)
parent8106f71f7c447c5f49715552422d322fce8963cc (diff)
downloadaniwatch-api-b87c1d4e678de9b421d6dd96c980902e4581d535.tar.xz
aniwatch-api-b87c1d4e678de9b421d6dd96c980902e4581d535.zip
Merge pull request #63 from WBRK-dev/main
docs: fixed documentation about episode sources
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index e34ad70..3528e7d 100644
--- a/README.md
+++ b/README.md
@@ -1053,14 +1053,14 @@ https://api-aniwatch.onrender.com/anime/episode-srcs?id={episodeId}&server={serv
| Parameter | Type | Description | Required? | Default |
| :--------: | :----: | :--------------------------------------------------: | :-------: | :--------------: |
| `id` | string | The id of the episode. | Yes | -- |
-| `server` | string | The name of the server. | No | `"vidstreaming"` |
+| `server` | string | The name of the server. | No | `"hd-1"` |
| `category` | string | The category of the episode ('sub', 'dub' or 'raw'). | No | `"sub"` |
#### Request sample
```javascript
const resp = await fetch(
- "https://api-aniwatch.onrender.com/anime/episode-srcs?id=steinsgate-3?ep=230&server=vidstreaming&category=dub"
+ "https://api-aniwatch.onrender.com/anime/episode-srcs?id=steinsgate-3?ep=230&server=hd-1&category=dub"
);
const data = await resp.json();
console.log(data);