Skip to content

phenofic/sdk

Repository files navigation

@phenofic/sdk

Installation & Usage

npm install @phenofic/sdk

Usage:

import { getTemplates } from '@phenofic/sdk';

const phenoficClientId = process.env.PHENOFIC_CLIENT_ID;
const phenoficApiKey = process.env.PHENOFIC_API_KEY;

const fetchTemplates = async () => {
  const response = await getTemplates({
    clientId: phenoficClientId,
    apiKey: phenoficApiKey,
  });

  console.log(response);
};