Skip to content

Explore the epic world of *Doctor Who* which has been on air for 45 years with this API—where the Doctor saves the day while roaming the universe with companions! 🚀👾

Notifications You must be signed in to change notification settings

aliana-kazmi/WHOLore-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WHOLore API

Shows Doctor Who logo in light mode and dark mode.

Documentation

Introduction

This documentation will help you get familiar with the resources of the Doctor Who API and show you how to make different queries, so that you can get the most out of it.

Baisc Set-up

To use the project, clone the project by typing the following command:

git clone https://github.com/aliana-kazmi/Doctor-Who-API.git

Change the directory to app and run the command

python manage.py runserver

Entity Relationship Diagram

ER Diagram

Currently available resources

Doctors Endpoint:

  • Purpose: Retrieve information about all doctors featured in Doctor Who.
  • Usage:
    • /api/characters/doctors
    • /api/characters/doctors/{doctor-name}
  • Response Format: JSON
  • Example: GET /api/characters/doctors returns a list of all doctors with their respective details.

Companions Endpoint:

  • Purpose: Access information about all companions featured in Doctor Who.
  • Usage:
    • /api/characters/companions
    • /api/characters/companions/{companion-name}
  • Response Format: JSON
  • Example: GET /api/characters/companions provides a list of all companions and their relevant details.

Villains Endpoint:

  • Purpose: Access information about all villains featured in Doctor Who.
  • Usage:
    • /api/characters/villains
    • /api/characters/villains/{villain-name}
  • Response Format: JSON
  • Example: GET /api/characters/villains provides a list of all villains and their relevant details.

Alien Races Endpoint:

  • Purpose: Retrieve information about all alien races associated with the character Doctor Who.
  • Usage:
    • api/characters/alien-races
    • api/characters/alien-races/{alien-race-name}
  • Response Format: JSON
  • Example: GET api/characters/alien-races/ provides a list of alien races featured in the Doctor Who series

Gadgets Endpoint:

  • Purpose: Retrieve information about all gadgets used by the Doctor in the series.
  • Usage:
    • /api/gadgets
    • /api/gadgets/{gadget-name}
  • Response Format: JSON
  • Example: GET /api/gadgets provides a comprehensive list of gadgets featured in Doctor Who.

Serials Endpoint:

  • Purpose: Access details about all serials (episodes) of the Doctor Who series.
  • Usage:
    • /api/serials
    • /api/serials/{serial-number}
  • Response Format: JSON
  • Example: GET /api/serials returns a list of all serials along with relevant information.

Episodes Endpoint:

  • Purpose: Access details about all episodes of the Doctor Who series.
  • Usage:
    • /api/episodes
    • /api/episodes/{episodes-name}
  • Response Format: JSON
  • Example: GET /api/writers returns details about writers who contributed to the show.

About

Explore the epic world of *Doctor Who* which has been on air for 45 years with this API—where the Doctor saves the day while roaming the universe with companions! 🚀👾

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published