added MAL requests
This commit is contained in:
parent
fd806df0a9
commit
b81549e5a6
6
rest/MAL/Get AnimeList.http
Normal file
6
rest/MAL/Get AnimeList.http
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# @name Get AnimeList
|
||||||
|
|
||||||
|
GET https://api.myanimelist.net/v2/users/{{MAL_USER}}/animelist?fields=list_status&status=watching&limit=1000
|
||||||
|
Content-Type application/x-www-form-urlencoded
|
||||||
|
Accept: application/json
|
||||||
|
Authorization: Bearer {{MAL_ACCESS_TOKEN}}
|
12
rest/MAL/Get Authorization.http
Normal file
12
rest/MAL/Get Authorization.http
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# @name Get Authorization
|
||||||
|
|
||||||
|
POST https://myanimelist.net/v1/oauth2/token
|
||||||
|
Content-Type: application/x-www-form-urlencoded
|
||||||
|
Accept: application/json
|
||||||
|
|
||||||
|
grant_type=authorization_code&
|
||||||
|
client_id={{MAL_CLIENT_ID}}&
|
||||||
|
client_secret={{MAL_CLIENT_SECRET}}&
|
||||||
|
redirect_uri=http://localhost:6734/callback&
|
||||||
|
code={{MAL_CODE}}&
|
||||||
|
code_verifier={{MAL_VERIFIER}}
|
5
rest/MAL/Get Single Anime.http
Normal file
5
rest/MAL/Get Single Anime.http
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# @name Get Single Anime
|
||||||
|
|
||||||
|
GET https://api.myanimelist.net/v2/anime/57380?fields=id,title,main_picture,alternative_titles,start_date,end_date,synopsis,mean,rank,popularity,num_list_users,num_scoring_users,nsfw,genres,created_at,updated_at,media_type,status,my_list_status,num_episodes,start_season,broadcast,source,average_episode_duration,rating,pictures,background,related_anime,recommendations,studios,statistics
|
||||||
|
Accept: application/json
|
||||||
|
Authorization: Bearer {{MAL_ACCESS_TOKEN}}
|
5
rest/MAL/MAL Oauth Page.http
Normal file
5
rest/MAL/MAL Oauth Page.http
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# @name MAL Oauth Page
|
||||||
|
|
||||||
|
GET https://myanimelist.net/v1/oauth2/authorize?response_type=code&client_id={{MAL_CLIENT_ID}}&redirect_uri={{MAL_CALLBACK_URI}}
|
||||||
|
cookie MALSESSIONID=5ad688aafb78239bfd84752752ce193f; MALHLOGSESSID=632f67c3955267b4e57fc3d74b373ebb
|
||||||
|
Accept: application/json
|
8
rest/MAL/Update Anime Status.http
Normal file
8
rest/MAL/Update Anime Status.http
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# @name Update Anime Status
|
||||||
|
|
||||||
|
PATCH https://api.myanimelist.net/v2/anime/50205/my_list_status
|
||||||
|
Content-Type: application/x-www-form-urlencoded
|
||||||
|
Accept: application/json
|
||||||
|
Authorization: Bearer {{MAL_ACCESS_TOKEN}}
|
||||||
|
|
||||||
|
num_watched_episodes=3
|
Loading…
x
Reference in New Issue
Block a user