The getSection
command is used to retrieve the parsed representation of a section.
Command
A successful request is comprised of three parts:
Argument | Type | Value |
---|---|---|
command | string | 'getSection' |
callback | function | function (data: array of objects or null, success: boolean) |
parameter | string | API prefix of the section |
__gpp('getSection', (data,success)=>{console.log("getSection request successfully executed: " + success);console.log(data)}, 'usnat');
function getSection_fn(data, success) {
console.log('Get section request successful: ' + success);
console.log(data);
}
...
__gpp('getSection', getSection_fn, 'usnat')
Response
Follow the links below to review the fields included in each section: