Skip to content

Releases: AviralCoder/trivia_api

150 Questions - v1.0.2

16 Nov 18:29
Compare
Choose a tag to compare

150 Questions completed!

We have officially added 150 questions to the trivia api!

Plus

Added 2 more endpoints -

/questions/categories - Gives an array of all the categories
/questions/categories/length - Gives the number of categories

Added Docs v1.0.1

01 Nov 10:45
09ed1bb
Compare
Choose a tag to compare

v1.0.0 (Initial)

28 Oct 18:40
Compare
Choose a tag to compare

First release 🥳 (v1.0.0)

API end points -

Any page starting with a colon : means a variable will be put there...

  • /questions/random
  • /questions/random/number/:num,
  • /questions/list,
  • /contribute ,
  • /contribute/issues,
  • /questions/list/index/:index,
  • /questions/category/:category,
  • /questions/category/:category/random,
  • /questions/category/:category/random/number/:number,
  • /questions/difficulty/:difficulty,
  • /questions/difficulty/:difficulty/random,
  • /questions/difficulty/:difficulty/category/:category/number/:number,
  • /questions/difficulty/:difficulty/category/:category/random,
  • /questions/difficulty/:difficulty/random/number/:number

Trivia Categories

  • Music
  • Geography
  • Movies
  • Literature
  • Science
  • Computers
  • History
  • Mythology
  • General
  • Games
  • Maths

Trivia Difficulties

  • Easy
  • Medium
  • Hard

Technologies

  • Node.js
  • Express.js
  • Heroku

URL

https://trivia-api-kbg.herokuapp.com/

Contributing

Any issue/pr is welcome!