added bruno files for getting Mal Anime

This commit is contained in:
John O'Keefe 2024-08-16 15:47:23 -04:00
parent 76ea4f73ec
commit a433df84db
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,19 @@
meta {
name: Get Single Anime
type: http
seq: 5
}
get {
url: https://api.myanimelist.net/v2/anime/52991?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
body: none
auth: bearer
}
params:query {
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
}
auth:bearer {
token: {{MAL_ACCESS_TOKEN}}
}

View File

@ -0,0 +1,15 @@
meta {
name: Update Anime Status
type: http
seq: 4
}
patch {
url: https://api.myanimelist.net/v2/anime/50205/my_list_status
body: formUrlEncoded
auth: bearer
}
auth:bearer {
token: {{MAL_ACCESS_TOKEN}}
}