Methods Reference
3.1 - Initiate the connection
const instance = mburger.createClient({
api_key: '1234567890'
});3.2 - Retrieve a single Section
// Import MBurger SDK
const mburger = require('mburger');
// Init the connection
const instance = mburger.createClient({
api_key: '1234567890'
});
// Get a specific block
instance.getSection({
section_id: 10088,
locale: 'it',
original_media: false
}).then(result => console.log(result));3.3 - Retrieve a single Block
3.4 - Retrieve multiple Blocks
Last updated