Home | Docs |
---|
Pull Requests | Issues |
---|
Contribution Guide | Code of Conduct | Lisense |
---|
API_URL - https://stranger-things-character-api.p.rapidapi.com
const axios = require("axios");
const options = {
method: 'GET',
url: 'https://stranger-things-character-api.p.rapidapi.com/characters',
params: {limit: '5', skip: '10'},
headers: {
'X-RapidAPI-Key': <YOUR_API_KEY>,
'X-RapidAPI-Host': 'stranger-things-character-api.p.rapidapi.com'
}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
const axios = require("axios");
const options = {
method: 'GET',
url: 'https://stranger-things-character-api.p.rapidapi.com/characters/68',
headers: {
'X-RapidAPI-Key': <YOUR_API_KEY>,
'X-RapidAPI-Host': 'stranger-things-character-api.p.rapidapi.com'
}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});