Skip to content
Thanos API: API that returns Thanos quotes. Built in ExpressJS in Node
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
quotes Adding an older but not in movie quote Jun 2, 2019
.gitignore Initial Commit Mar 30, 2019
LICENSE Create LICENSE Apr 4, 2019 Endgame is out Apr 28, 2019
handlers.js Improved /random/<integer> algorithm to be a lot more efficient Mar 31, 2019
index.js Removing unneeded second import of quotes file Mar 31, 2019
package-lock.json Initial Commit Mar 30, 2019
package.json adding start command Mar 30, 2019

Thanos Quotes API!

Built using ExpressJS framework in NodeJS.


Grab a random Thanos quote!

Grab a specified number of random Thanos quotes!<integer>/

Grab all Thanos quotes!

How these quotes were collected

Googled thanos quotes and wrote a python script through which I could just input a quote and it will automatically form json with correct id and append it to the quotes file.

Make a contribution!

Would love to make the api better and more efficient if someone is willing to help. Also if I missed a thanos quote, submit a Pull Request, with the quote added to the quotes/quotes.json file. Make sure the quote is in this format:

  "id": <last joke id + 1>,
  "quote": "<the quote>"

Run Locally

  • Clone the repo
  • npm install
  • npm start
  • Visit localhost:3000 on your browser!
You can’t perform that action at this time.