Skip to content

BeardedGrinn/week-4-rest-api-hackathon-16bites

 
 

Repository files navigation

Team 16Bites Presents


A School of Code Hackathon Production


The

PokéBites

RESTful API


From Producers Mitch, Nick & Olie

Gotta GET/TRY/CATCH em' all!

So what's it about?

PokéBites contains all 151 of the OG Gen1 Pokémon 😎

How do I use it?

Initialise our API with 'npm start'

Our API will run on: http://localhost:3000/

See below for the list of commands for our API

HTTP Method Path Request Body Response Body Status Code
GET / n/a Lists all Pokémon and their properties 200
GET /?number=151 n/a The first Pokémon etc. 200
GET /?name=Pikachu n/a Pokémon matching the name 200
GET /?attack=highest n/a Pokémon with the highest attack rating 200
GET /?speed=lowest n/a Pokémon with the lowest speed rating 200

Hope you have a Blast(oise!)

About

Week 4 hackathon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%