added bruno files for getting Mal Anime
This commit is contained in:
parent
76ea4f73ec
commit
a433df84db
19
bruno/AniTrack/MAL/Get Single Anime.bru
Normal file
19
bruno/AniTrack/MAL/Get Single Anime.bru
Normal 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}}
|
||||
}
|
15
bruno/AniTrack/MAL/Update Anime Status.bru
Normal file
15
bruno/AniTrack/MAL/Update Anime Status.bru
Normal 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}}
|
||||
}
|
Loading…
Reference in New Issue
Block a user