v1.0.4
New
-
v1.0.4 npm package publish.
-
dbe6928
getAnimeVideoPromo([title])
function implemented.-
To get the promo list for each anime, you must use the
title
property and pass it to the function as a parameter. If you use any API entry point you will see that the title property"title": "Tokyo Ghoul"
for each anime will be available, you should take the value of the title and pass it to the next url.
`https://animeflv.chrismichael.now.sh/api/v1/AnimeTrailers/${title}`
Or you can use the function from the api.
getAnimeVideoPromo([title]) .then(doc =>{ console.log(doc) })
// 20200129191334 // http://localhost:5000/api/v1/AnimeTrailers/Tokyo%20Ghoul { "trailers": [ { "title": "PV Madman ver.", "previewImage": "https://i.ytimg.com/vi/vGuQeQsoRgU/mqdefault.jpg", "videoURL": "https://www.youtube.com/embed/vGuQeQsoRgU enablejsapi=1&wmode=opaque&autoplay=1" }, { "title": "PV AnimeLab ver.", "previewImage": "https://i.ytimg.com/vi/ETHpMMV8rJU/mqdefault.jpg", "videoURL": "https://www.youtube.com/embed/ETHpMMV8rJU?enablejsapi=1&wmode=opaque&autoplay=1" } ] }
-
-
6763f0f
getAnimeCharacters
function implemented.-
To obtain the photo of the characters of each anime, the
title
property must be passed as a parameter. If you use any API entry point you will see that the title property"title": "Tokyo Ghoul"
for each anime will be available, you should take the value of the title and pass it to the next url.
`https://animeflv.chrismichael.now.sh/api/v1/AnimeCharacters/${title}`
Or you can use the api function
getAnimeCharacters([title]) .then(doc => { console.log(doc) })
// 20200129171904 // http://localhost:5000/api/v1/AnimeCharacters/Tokyo%20Ghoul { "characters": [ { "character": { "id": 87275, "name": "Kaneki, Ken", "image": "https://cdn.myanimelist.net/images/characters/9/251339.jpg?s=788e4d76ff697c9ee67b65b68b6e8157", "role": "Main" } }, { "character": { "id": 87277, "name": "Kirishima, Touka", "image": "https://cdn.myanimelist.net/images/characters/16/234699.jpg?s=10ef474344779135236911013b0925fc", "role": "Main" } }, { "character": { "id": 113779, "name": "Abe, Maiko", "image": "https://cdn.myanimelist.net/images/characters/16/259779.jpg?s=67ed4d2dfb07359d050eb3a0ec91ca8d", "role": "Supporting" } }, { "character": { "id": 99671, "name": "Amon, Koutarou", "image": "https://cdn.myanimelist.net/images/characters/13/251453.jpg?s=cf7bdc7cb409357d69720b0aee488ff6", "role": "Supporting" } }, // ....... ] }
-