GithubHelp home page GithubHelp logo

aliana-kazmi / doctor-who-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 44.06 MB

License: Other

Python 94.59% CSS 1.78% JavaScript 2.21% HTML 1.00% PowerShell 0.13% Batchfile 0.01% Procfile 0.01% Shell 0.26% C 0.01% Nushell 0.02%

doctor-who-api's Introduction

Doctor Who Rest 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

Currently available resources

Doctors Endpoint:

  • Purpose: Retrieve information about all doctors featured in Doctor Who.
  • Usage:
    • /api/characters/doctors
    • /api/characters/doctors/{doctor-number}
  • 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-id}
  • 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-id}
  • 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-id}
  • 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-id}
  • 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-number}
  • Response Format: JSON
  • Example: GET /api/writers returns details about writers who contributed to the show.

doctor-who-api's People

Contributors

aliana-kazmi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.