1.0.3 • Published 3 years ago

@suggestic/sdk v1.0.3

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
3 years ago

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";

const client = new Suggestic("{TOKEN}");

3.- Get a meal plan

async function getMealplan() {
  const user = client.getUser("{USER-ID}");
  const mealplan = await user.mealPlan();
  console.log(mealplan);
}

getMealplan();

Development

Suggestic Node client uses graphjql-code-generator

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago