Last active
May 17, 2016 22:23
-
-
Save mtt87/400f7eb0e9875daf353275573e86e545 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var client = contentful.createClient({space: ‘a2b2c3d4e5’, accessToken: ‘not_a_secret’}); | |
// retrieve the data with content_type = job | |
client.getEntries({'content_type': 'job'}) | |
.then(function (entries) { | |
// do stuff | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment