Powered by MAPEGY
{{authError}}
{{reqLimits}}
{{reqError}}
Request: {{method.testRequest}}
Response:
{{method.testResponse | json}}
Required Parameters
Optional Parameters
// example in JavaScript
function ScoutQuery() {
this.format_version = '1.6.0';
this.data = {
/*
SEMANTIC SEARCH
If used, ADVANCED SEARCH is limited to "organizations" in the format [[x1,x2,...]].
*/
semantic: ''
/*
ADVANCED SEARCH
Each field contains a nested array of search terms in the format [[x1,x2,...], [y1,y2,...], ...]
which represents the Boolean query (x1 OR x2 OR ...) AND (y1 OR y2 OR ...) AND ...
*/
// Topic names
topics: [],
not_topics: [], // AND NOT (...)
// Organization names
organizations: [],
not_organizations: [], // AND NOT (...)
};
};
// initialize query
var query = new ScoutQuery();
// add terms to query
query.data.topics.push(['artificial intelligence', 'deep learning']);
// build url
var queryParam = '?q=' + encodeURIComponent(JSON.stringify(query));
var route = 'Documents';
var url = 'https://api.mapegy.com/' + route + '/' + queryParam;