Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including contentful with all npm packages installed. Try it out:

var contentful = require('contentful') var client = contentful.createClient({ // This is the space ID. A space is like a project folder in Contentful terms space: 'developer_bookshelf', // This is the access token for this space. Normally you get both ID and the token in the Contentful web app accessToken: '0b7f6x59a0' }) // This API call will request an entry with the specified ID from the space defined at the top, using a space-specific access token. await client.getEntry('5PeGS2SoZGSa4GuiQsigQu')

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

contentful v7.14.6

Client for Contentful's Content Delivery API

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free