Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 465 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 465 Bytes

pokemon-challenge

Shakespearify Pokemon descriptions or flavor texts with this API

GET /pokemon/{name}

200 - Success

404 - Validation error

429 - API calls maxed out per hour error

Usage

Spin up API

docker build . -t {username}/server.js

docker run -p 5000:5000 {username}/server.js}

Retrieve shakespearified pokemon flavor text

curl -X GET \
  http://localhost:5000/pokemon/{name}\
  -H 'Content-Type: application/json'