Skip to content

Mridul2820/stranger-things-api

Repository files navigation

Stranger Things API

Stranger Things API

Home Docs
Pull Requests Issues
Contribution Guide Code of Conduct Lisense

Base API URL

API_URL - https://stranger-things-character-api.p.rapidapi.com

API KEY

Get an API Key from Rapid API

Get All Characters Example

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);
});

Get a Single Character Example

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);
});