diff --git a/rest/MAL/Get AnimeList.http b/rest/MAL/Get AnimeList.http new file mode 100644 index 0000000..ac06954 --- /dev/null +++ b/rest/MAL/Get AnimeList.http @@ -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}} diff --git a/rest/MAL/Get Authorization.http b/rest/MAL/Get Authorization.http new file mode 100644 index 0000000..d95d911 --- /dev/null +++ b/rest/MAL/Get Authorization.http @@ -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}} diff --git a/rest/MAL/Get Single Anime.http b/rest/MAL/Get Single Anime.http new file mode 100644 index 0000000..28dfd52 --- /dev/null +++ b/rest/MAL/Get Single Anime.http @@ -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}} diff --git a/rest/MAL/MAL Oauth Page.http b/rest/MAL/MAL Oauth Page.http new file mode 100644 index 0000000..d066e04 --- /dev/null +++ b/rest/MAL/MAL Oauth Page.http @@ -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 diff --git a/rest/MAL/Update Anime Status.http b/rest/MAL/Update Anime Status.http new file mode 100644 index 0000000..fa74850 --- /dev/null +++ b/rest/MAL/Update Anime Status.http @@ -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