Note
You can pass the apikey in one of the following three ways:
- 1. In the GET method: you can pass parameters in the query string of the URL with param "apikey".
Anime
GET api/anime/anisearch (-1 request)
Search Anime/Manga by name.
const axios = require('axios');
(async () => {
try {
const response = await axios({
url: 'https://misfitsdev.co/api/anime/anisearch',
method: 'GET',
params: {
'apikey': '123456789',
'name': 'high school dxd',
'type': 'anime',
}
});
console.log(response.data);
}
catch (error) {
console.log(error);
}
})();
import requests
url = 'https://misfitsdev.co/api/anime/anisearch'
querystring = {
'apikey': '123456789',
'name': 'high school dxd',
'type': 'anime',
}
response = requests.request('GET', url, headers=headers, params=querystring)
print(response.text)
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://misfitsdev.co/api/anime/anisearch');
$params['apikey'] = '123456789';
$params['name'] = 'high+school+dxd';
$params['type'] = 'anime';
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($params));
$result = curl_exec($ch);
curl_close($ch);
echo $result;
#!/bin/bash
curl -X GET "https://misfitsdev.co/api/anime/anisearch?apikey=123456789&name=high%2520school%2520dxd&type=anime"