0.0.1 • Published 9 years ago

hackaday-api-helper v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

#HAD-API-Helper Build Status

Accepts

####.setClientData

NameTypeDescription
objobjectInput your client ID, secret, and API key for queries
var hadApi = require('hadApi');

hadApi.setClientData({
    id: null,       // Your client ID
    secret: null,   // Your client secret
    key: null       // Your client API key
});

####.getUsers

NameTypeDescription
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getUser

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getUserFollowing

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getUserFollowers

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getUserSkulls

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getUserPages

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getUserTags

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getUserLinks

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getUsersRange

NameTypeDescription
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getUsersBatch

NameTypeDescription
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.usersSearch

NameTypeDescription
optionsobjectKey-Value of these accepted API query params: page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getProjects

NameTypeDescription
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getProject

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getProjectTeam

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getProjectFollowers

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getProjectSkulls

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getProjectComments

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getProjectTags

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getProjectLinks

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getProjectImages

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getProjectComponents

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getProjectLogs

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getProjectInstructions

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getProjectDetails

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: sortby, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getProjectsRange

NameTypeDescription
optionsobjectKey-Value of these accepted API query params: sortby, id, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getProjectsBatch

NameTypeDescription
optionsobjectKey-Value of these accepted API query params: sortby, id, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.projectsSearch

NameTypeDescription
optionsobjectKey-Value of these accepted API query params: searchTerm, page, and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.search

NameTypeDescription
optionsobjectKey-Value of these accepted API query params: searchTerms
callbackfunctioncallback function that accepts parameters error and result.

####.getCommentsBase

NameTypeDescription
typetypedescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: page and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getUserComments

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: page and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getLogComments

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: page and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getInstructionComments

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: page and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getContestComments

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: page and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getEventComments

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: page and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getHackerspaceComments

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: page and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getStackComments

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: page and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getFeed

NameTypeDescription
optionsobjectKey-Value of these accepted API query params: page and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getListPages

NameTypeDescription
optionsobjectKey-Value of these accepted API query params: sortby, page and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getListPage

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: sortby, page and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getStackPages

NameTypeDescription
optionsobjectKey-Value of these accepted API query params: sortby, page and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getStackPage

NameTypeDescription
idintID of the requested item
optionsobjectKey-Value of these accepted API query params: page and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getEventPages

NameTypeDescription
optionsobjectKey-Value of these accepted API query params: sortby, page and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getContestPages

NameTypeDescription
optionsobjectKey-Value of these accepted API query params: sortby, page and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getHackerspacePages

NameTypeDescription
optionsobjectKey-Value of these accepted API query params: sortby, page and perPage.
callbackfunctioncallback function that accepts parameters error and result.

####.getAuthToken

NameTypeDescription

####.getCode

NameTypeDescription