Skip to content

A tool to populate nightscout's food db with the latest data from Brazilian Diabetes Society Carbs Counting Manual

License

Notifications You must be signed in to change notification settings

marceloemanoel/nightscout-brazilian-food-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Versão em Português

Nightscout Brazilian Food DB

Add to your Nightscout the content from the latest Brazilian Diabetes Society carbs counting manual.

Requirements

  • A nightscout deployment with the food plugin installed.
  • A working installation of Go (https://go.dev/)

Running

To add the food to your nightscout database run:

NS_BASE_URL="https://your-nightscout-host.com" \
NS_API_SECRET="0123456789yourAPItoken" \
go run main.go

This will make requests to your nightscout api sending the data from data.csv. Once the database is populated, there's no need to use this system anymore.

Check out the food plugin to get more instructions on how to proceed from here.

Credits

About

A tool to populate nightscout's food db with the latest data from Brazilian Diabetes Society Carbs Counting Manual

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages