We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fb5f39 commit ab00c58Copy full SHA for ab00c58
README.md
@@ -40,13 +40,13 @@ import agility from '@agility/content-fetch'
40
//initialize the api client
41
const api = agility.getApi({
42
instanceID: '1234-1234',
43
- accessToken: 'fEpTcRnWO3EahHbojDCeY3PwGwAzpw2gveDuPn2l0nuqFbQYVcWrQ+a3/DHcWgCgn7UL2tgbSOS0AqrEOiXkTg==',
44
- languageCode: 'en-us'
+ accessToken: 'fEpTcRnWO3EahHbojDCeY3PwGwAzpw2gveDuPn2l0nuqFbQYVcWrQ+a3/DHcWgCgn7UL2tgbSOS0AqrEOiXkTg=='
45
});
46
47
//make the request: get a content item with the ID '22'
48
api.getContentItem({
49
- contentID: 22
+ contentID: 22,
+ languageCode: 'en-us'
50
})
51
.then(function(contentItem) {
52
//on success
0 commit comments