1.0.3 • Published 7 years ago

paprika-api v1.0.3

Weekly downloads
7
License
MIT
Repository
github
Last release
7 years ago

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');

Initialize

Use your email and password you use for Paprika Sync

let paprikaApi = new PaprikaApi('email@example.com', '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