UNPKG

hackaday-api-helper

Version:

Example calls and oAuth for HAD API (dev.hackaday.io)

10 lines (7 loc) 293 B
var searchFunctions = {}; searchFunctions.search = function (options, callback) { this.verifyArguments(arguments, 2, options, ['searchTerm']); var callUrl = this.makeCallUrl('/search', null, options, null); this.getBase(callUrl, callback); }; module.exports = searchFunctions;