diff --git a/rest/Simkl/Get Code.http b/rest/Simkl/Get Code.http new file mode 100644 index 0000000..f011560 --- /dev/null +++ b/rest/Simkl/Get Code.http @@ -0,0 +1,3 @@ +# @name Get Code + +GET https://simkl.com/oauth/authorize?response_type=code&client_id={{SIMKL_CLIENT_ID}}&redirect_uri=http://localhost:6734/callback diff --git a/rest/Simkl/Get Items/Get Anime Full Info.http b/rest/Simkl/Get Items/Get Anime Full Info.http new file mode 100644 index 0000000..1934dad --- /dev/null +++ b/rest/Simkl/Get Items/Get Anime Full Info.http @@ -0,0 +1,5 @@ +# @name Get Anime Full Info + +GET https://api.simkl.com/anime/40084?extended=full +Accept application/json +simkl-api-key {{SIMKL_CLIENT_ID}} diff --git a/rest/Simkl/Get Items/GetUser WatchList.http b/rest/Simkl/Get Items/GetUser WatchList.http new file mode 100644 index 0000000..da5bda2 --- /dev/null +++ b/rest/Simkl/Get Items/GetUser WatchList.http @@ -0,0 +1,7 @@ +# @name GetUser WatchList + +GET https://api.simkl.com/anime/40084?extended=full +Content-Type application/json +Accept application/json +simkl-api-key {{SIMKL_CLIENT_ID}} +Authorization Bearer {{SIMKL_AUTH_TOKEN}} diff --git a/rest/Simkl/Get Items/Search By MALID to Get Simkl ID.http b/rest/Simkl/Get Items/Search By MALID to Get Simkl ID.http new file mode 100644 index 0000000..18e784c --- /dev/null +++ b/rest/Simkl/Get Items/Search By MALID to Get Simkl ID.http @@ -0,0 +1,5 @@ +# @name Search By MALID to Get Simkl ID + +GET https://api.simkl.com/search/id?anilist=174576 +Accept application/json +simkl-api-key {{SIMKL_CLIENT_ID}} diff --git a/rest/Simkl/Post Items/Delete Entry.http b/rest/Simkl/Post Items/Delete Entry.http new file mode 100644 index 0000000..059b12c --- /dev/null +++ b/rest/Simkl/Post Items/Delete Entry.http @@ -0,0 +1,17 @@ +# @name Delete Entry + +GET https://api.simkl.com/sync/history/remove +Content-Type application/json +Accept application/json +simkl-api-key {{SIMKL_CLIENT_ID}} +Authorization Bearer {{SIMKL_AUTH_TOKEN}} + +{ + "shows": [ + { + "ids": { + "simkl": 909121 + } + } + ] +} diff --git a/rest/Simkl/Post Items/Update Episode.http b/rest/Simkl/Post Items/Update Episode.http new file mode 100644 index 0000000..0074e32 --- /dev/null +++ b/rest/Simkl/Post Items/Update Episode.http @@ -0,0 +1,40 @@ +# @name Update Episode + +GET https://api.simkl.com/sync/history +Content-Type application/json +Accept application/json +simkl-api-key {{SIMKL_CLIENT_ID}} +Authorization Bearer {{SIMKL_AUTH_TOKEN}} + +{ + "shows": [ + { + "title": "Ramen Aka Neko", + "ids": { + "simkl": 2307708, + "mal": "57325", + "anilist": "170998" + }, + "episodes": [ + { + "number": 1 + }, + { + "number": 2 + }, + { + "number": 3 + }, + { + "number": 4 + }, + { + "number": 5 + }, + { + "number": 6 + } + ] + } + ] +} diff --git a/rest/Simkl/SimklGetAuthorizationToken.http b/rest/Simkl/SimklGetAuthorizationToken.http new file mode 100644 index 0000000..b47219a --- /dev/null +++ b/rest/Simkl/SimklGetAuthorizationToken.http @@ -0,0 +1,12 @@ +# @name SimklGetAuthorizationToken + +POST https://api.simkl.com/oauth/token +Content-Type application/json + +{ + "grant_type": "authorization_code", + "client_id": "{{SIMKL_CLIENT_ID}}", + "client_secret": "{{SIMKL_CLIENT_SECRET}}", + "redirect_uri": "http://localhost:6734/callback", + "code": {{SIMKL_CODE}} +}