1.0.0 • Published 7 years ago

dcontentful v1.0.0

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

Dependency Status devDependency Status

Installation

npm i --save dcontentful

Initialisation

const client = require('dcontentful').createClient({
  space: process.env.SPACE_ID,
  accessToken: process.env.ACCESS_TOKEN,
});

Examples

Get a specific entry

const entryId = 'entryId';
const entry = await client.getEntry(entryId);