haravan-client
Version:
### Haravan API
18 lines (17 loc) • 538 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getHaravanCollections = void 0;
const common_1 = require("./common");
function getHaravanCollections(param) {
const { accessToken, query, delay } = param;
const config = common_1.makeRequestConfig({
path: `/com/collects.json`,
method: 'GET',
accessToken,
rootField: 'collects',
delay,
query
});
return common_1.sendRequest(config);
}
exports.getHaravanCollections = getHaravanCollections;