hackaday-api-helper v0.0.1
#HAD-API-Helper
Accepts
####.setClientData
| Name | Type | Description |
|---|---|---|
| obj | object | Input 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
| Name | Type | Description |
|---|---|---|
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getUser
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getUserFollowing
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getUserFollowers
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getUserSkulls
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getUserPages
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getUserTags
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getUserLinks
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getUsersRange
| Name | Type | Description |
|---|---|---|
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getUsersBatch
| Name | Type | Description |
|---|---|---|
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.usersSearch
| Name | Type | Description |
|---|---|---|
| options | object | Key-Value of these accepted API query params: page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getProjects
| Name | Type | Description |
|---|---|---|
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getProject
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getProjectTeam
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getProjectFollowers
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getProjectSkulls
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getProjectComments
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getProjectTags
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getProjectLinks
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getProjectImages
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getProjectComponents
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getProjectLogs
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getProjectInstructions
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getProjectDetails
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: sortby, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getProjectsRange
| Name | Type | Description |
|---|---|---|
| options | object | Key-Value of these accepted API query params: sortby, id, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getProjectsBatch
| Name | Type | Description |
|---|---|---|
| options | object | Key-Value of these accepted API query params: sortby, id, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.projectsSearch
| Name | Type | Description |
|---|---|---|
| options | object | Key-Value of these accepted API query params: searchTerm, page, and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.search
| Name | Type | Description |
|---|---|---|
| options | object | Key-Value of these accepted API query params: searchTerms |
| callback | function | callback function that accepts parameters error and result. |
####.getCommentsBase
| Name | Type | Description |
|---|---|---|
| type | type | description |
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: page and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getUserComments
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: page and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getLogComments
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: page and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getInstructionComments
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: page and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getContestComments
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: page and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getEventComments
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: page and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getHackerspaceComments
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: page and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getStackComments
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: page and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getFeed
| Name | Type | Description |
|---|---|---|
| options | object | Key-Value of these accepted API query params: page and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getListPages
| Name | Type | Description |
|---|---|---|
| options | object | Key-Value of these accepted API query params: sortby, page and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getListPage
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: sortby, page and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getStackPages
| Name | Type | Description |
|---|---|---|
| options | object | Key-Value of these accepted API query params: sortby, page and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getStackPage
| Name | Type | Description |
|---|---|---|
| id | int | ID of the requested item |
| options | object | Key-Value of these accepted API query params: page and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getEventPages
| Name | Type | Description |
|---|---|---|
| options | object | Key-Value of these accepted API query params: sortby, page and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getContestPages
| Name | Type | Description |
|---|---|---|
| options | object | Key-Value of these accepted API query params: sortby, page and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getHackerspacePages
| Name | Type | Description |
|---|---|---|
| options | object | Key-Value of these accepted API query params: sortby, page and perPage. |
| callback | function | callback function that accepts parameters error and result. |
####.getAuthToken
| Name | Type | Description |
|---|
####.getCode
| Name | Type | Description |
|---|
11 years ago