Skip to content

Repository files navigation

Suggestic Node Package

Documentation for the Suggestic API can be found here

1.- Install suggestic node client

yarn add @suggestic/sdk

2.- Create suggestic client

import{Suggestic}from"@suggestic/sdk";constclient=newSuggestic("{TOKEN}");

3.- Get a meal plan

asyncfunctiongetMealplan(){constuser=client.getUser("{USER-ID}");constmealplan=awaituser.mealPlan();console.log(mealplan);}getMealplan();

Development

Suggestic Node client uses graphjql-code-generator

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages