Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 981 Bytes

README.md

File metadata and controls

36 lines (30 loc) · 981 Bytes

HackathonPythonAPI

Rest API made with Python, for our EzyVet Hackethon 2022 project

ENDPOINTS:

Endpoint: '/predictHealthyWeight' Request Type: 'get' params:

  1. breed (String)
  2. sex (String: Male, Female, Neutered, Spayed)
  3. age (float: in years)
  4. weight (float: in KG)
  5. height (float: in CM) returns: String ('Underweight', 'Healthy', 'Overweight')

Endpoint: '/predictIllness' Request Type: 'get' params:

  1. breed (String)
  2. sex (String: Male, Female, Neutered, Spayed)
  3. age (float: in years)
  4. weight (float: in KG)
  5. height (float: in CM) returns: String (xx.xx%). Example: 54.22%

Endpoint: '/predictBehaviour' Request Type: 'get' params:

  1. breed (String)
  2. sex (String: Male, Female, Neutered, Spayed)
  3. age (float: in years)
  4. weight (float: in KG)
  5. height (float: in CM) returns: String ('Energetic', 'Loving', 'Protective', 'Loud', 'Quiet', 'Enthusiastic', 'Active', 'Calm', 'Relaxed', 'Content', 'Happy'). Example: Protective, Loud and Active