added simkl rest files
This commit is contained in:
parent
b81549e5a6
commit
3e82677c2c
3
rest/Simkl/Get Code.http
Normal file
3
rest/Simkl/Get Code.http
Normal file
@ -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
|
5
rest/Simkl/Get Items/Get Anime Full Info.http
Normal file
5
rest/Simkl/Get Items/Get Anime Full Info.http
Normal file
@ -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}}
|
7
rest/Simkl/Get Items/GetUser WatchList.http
Normal file
7
rest/Simkl/Get Items/GetUser WatchList.http
Normal file
@ -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}}
|
@ -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}}
|
17
rest/Simkl/Post Items/Delete Entry.http
Normal file
17
rest/Simkl/Post Items/Delete Entry.http
Normal file
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
40
rest/Simkl/Post Items/Update Episode.http
Normal file
40
rest/Simkl/Post Items/Update Episode.http
Normal file
@ -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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
12
rest/Simkl/SimklGetAuthorizationToken.http
Normal file
12
rest/Simkl/SimklGetAuthorizationToken.http
Normal file
@ -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}}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user