Skip to content

joshstrange/paprika-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

paprika-api

You can use Typescript or just javascript to import the library.

Typescript:

import {PaprikaApi} from 'paprika-api';

Javascript:

let PaprikaApi = require('paprika-api').PaprikaApi;

Initialize

Use your email and password you use for Paprika Sync

let paprikaApi = new PaprikaApi('[email protected]', 'myPassword');

Use

paprikaApi.recipes().then((recipes) => {
    paprikaApi.recipe(recipes[0].uid).then((recipe) => {
        console.log(recipe);
    });
});

You can see all of the endpoints and examples of what they return in lib/index.ts

About

NodeJS Library to talk to Paprika's backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published