Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 426 Bytes

readme.md

File metadata and controls

18 lines (11 loc) · 426 Bytes

Setup

Database configuration is in ./config/db_settings.py

Set which database instance to use at the top of app.py

then:

$ docker run docker run --rm -d -p 5002:5000 remedy-api

Querying the API

Accepted params:

  • start date formatted as "%Y-%m-%d"
  • end date formatted as "%Y-%m-%d"
  • per_page integer, max 500, numbers over this amount will default to 500
  • page integer, offset for query