Skip to content

Repository files navigation

Simple Python REST

install python3 python3-dev install pip (package/dependency manager)

[red] gpio_pin = 12

[blue] gpio_pin = 16

[green] gpio_pin = 18

Under Project Folder type this command in terminal : sudo pip install -U -r requirement.txt

Run : first Set Database connection in core/Connection.Py

second type in terminal

Python3 /path/to/REST.py

third type in browser localhost/api/v1/ping/

About

this for calculating heartbeat

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages