1.0.0 • Published 7 years ago
dcontentful v1.0.0
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);
1.0.0
7 years ago