Mridul2820 / stranger-things-api

Stranger Things API

Home Page:https://stranger-things-api.mridul.tech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Stranger Things API

https://stranger-things-api.mridul.tech

License:MIT License


Languages

Language:JavaScript 97.7%Language:CSS 2.3%