Skip to content

REST API Un-Official Fatsecret (Untuk mencari Basis Data Kandungan Gizi dan Nutrisi dari Fatsecret)

License

Notifications You must be signed in to change notification settings

studiopintar/nutrisi-fatsecret

Repository files navigation

Fat Secret Unofficial API

This are unofficial http interface to Fat Secret food databases. The API will show you information related about the food you're looking for. Remember that this are unofficial. Please report if something broken.

Features

Here are some feature that this API offers you

Multi Lang Multi Food

Some food are only available on your language, since Fat Secret had many languages

Search Food

To search food, you can do this:

GET api/:lang/search?query=tempe&page=0

# query: name of your food
# page: go to current page

Food Detail [WIP]

Print the detail of food that you're looking for

GET api/:lang/detail?url=%2Fkalori-gizi%2Fumum%2Ftempe-goreng

# url: URL detailLink of the selected food (Acquired from search query before)

Contribute

Contribute to your own language

To make your language plugin you could add to the settings here let me explain whare are those config

{
  lang: 'specify your language abbreviation',
  menuUrl: 'home page menu for foods',
  searchUrl: 'search url for fat secret',
  otherSizes: 'this are text that you will find 2 lines under the food name after you search food'
}

Development

$ npm i -g vercel
$ vercel start

About

REST API Un-Official Fatsecret (Untuk mencari Basis Data Kandungan Gizi dan Nutrisi dari Fatsecret)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published