Skip to content

khanh41/stress_machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stress Predict Service

Create Virtual Environment using (virtualenv for linux)

virtualenv  vend
source vend/bin/activate

Install

 pip3 install -r requiments.txt
 python3 run.py

Usage

All responses will have the form

{
    "data": "Mixed type holding the content of the response",
    "message": "Description of what happened"
}

Subsequent response definitions will only detail the expected value of the data field

List all devices

Definition

GET /hearrate

Response

  • 200 OK on success

Registering a new device

Definition

POST /devices

Arguments

  • "date":string date time when send data
  • "time":string time when send data
  • "data":string list data hearrate

Response

  • 200 on success
{
    "date": "20/04/2020",
    "name": "23:23",
    "data": "23,445,33,223,45,232,23,34,23",
}

About

System detect stress at children

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages