1.0.3 • Published 4 years ago

@suggestic/sdk v1.0.3

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
4 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

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago