DEV Community

Cover image for Dive into the Inside Job Universe with Inside Verse API 👁️
Beπ ✨
Beπ ✨

Posted on • Updated on • Originally published at benoitpetit.dev

Dive into the Inside Job Universe with Inside Verse API 👁️

Substack Newsletter

Hi 👋, it's Ben, and I wanted to share this API I developed with json-server. Nothing fancy, but it's always nice to have an open API like InsideVerseAPI.

Are you a fan of the Inside Job series and want to delve deeper into the fascinating universe of its characters? Are you looking for a source of inspiration or entertainment through the iconic quotes from the series?

Well, you're going to love InsideVerseAPI, an API that grants you access to a treasure trove of quotes, dialogues, and memorable lines from your favorite heroes.

Explore the spirit, wisdom, and humor that define the essence of Inside Job. Whether you're seeking creative inspiration or a moment of relaxation, InsideVerseAPI is your gateway to the richness of storytelling.

API URL 👉️ inside-verse-api.com

Features

You can access the following information:

  • 💬 Quotes: Get a list of all quotes from the series, a specific quote, or a random one. You can also limit the number of quotes to display.
  • 👤 Characters: Obtain a list of all characters from the series, a specific character, or limit the number of characters to display.
  • 🏢 Organizations: Retrieve a list of all organizations in the series, a specific organization, or limit the number of organizations to display.
  • 📽️ Episodes: Get a list of all episodes from the series, or filter by season or episode number.

The API is continually evolving, feel free to lend a hand : github.com/benoitpetit/inside-verse-api

Available routes on the API:

  GET    /quotes
  GET    /quotes/1
  GET    /quotes/random
  GET    /quotes?_limit=20

  GET    /characters
  GET    /characters/1
  GET    /characters?_limit=3

  GET    /organizations
  GET    /organizations/1
  GET    /organizations?_limit=4

  GET    /episodes
  GET    /episodes?season=2
  GET    /episodes?season=1&episode=2
Enter fullscreen mode Exit fullscreen mode

Example of usage with JavaScript

Retrieving a random quote

fetch("https://inside-verse-api.com/quotes/random")
  .then((response) => console.log(response.json()))
  .catch((error) => console.error("Error fetching quote:"))
Enter fullscreen mode Exit fullscreen mode
{
    "id": 29,
    "character_id": 3,
    "character": "Brett Hand",
    "quote": "I'm just a simple guy, trying to make my way in the world.",
    "episode": "Inside Job - Season 1, Episode 1 (2021)"
}
Enter fullscreen mode Exit fullscreen mode

Retrieving characters

fetch("https://inside-verse-api.com/characters")
  .then((response) => console.log(response.json()))
  .catch((error) => console.error("Error fetching quote:"))
Enter fullscreen mode Exit fullscreen mode
[
    {
        "id": 1,
        "name": "Reagan Ridley",
        "age": 25,
        "gender": "Female",
        "occupation": "Chief of Operations at Cognito Inc.",
        "species": "Human",
        "personality": "Reagan is a brilliant but socially awkward engineer who works at Cognito Inc. She is ambitious and cynical, but she also has a kind heart.",
        "image": "https://static.wikia.nocookie.net/insidejob/images/c/ce/Reagan_Ridley_Episode_01.png",
        "interests": "Science, technology, conspiracy theories",
        "friends": [
            "Brett Hand",
            "Gigi Thompson",
            "Magic Myc"
        ],
        "enemies": [
            "Rand Ridley",
            "J.R. Scheimpough"
        ],
        "family": [
            "Rand Ridley",
            "Tamiko Ridley"
        ]
    },
                .......
                ......
]
Enter fullscreen mode Exit fullscreen mode

InsideVerseAPI is a free and registration-free API created by benoitpetit.dev, a fan of the Inside Job series. It is based on publicly available web data. It is not affiliated with or endorsed by the creators or producers of the series. It is intended for personal and non-commercial use.

If you like InsideVerseAPI and want to support its development, you can make a donation to the creator via Stripe sponsor. You can also send your feedback, suggestions, or questions via the contact form on benoitpetit.dev.

You can also contribute to enriching the database with information about the series it's over here 👉️ https://github.com/benoitpetit/inside-verse-api

API URL 👉️ inside-verse-api.com

Reagan Ridley Inside Job

See you soon! Beπ ✨

Top comments (0)