new Team(self)
A new team api object.
Parameters:
Name | Type | Description |
---|---|---|
self |
object | is `this` from index.js |
- Source:
Methods
get(id, callback)
returns info about a team
Parameters:
Name | Type | Description |
---|---|---|
id |
string | the team id to look up |
callback |
requestCallback | a function to call when data is returned |
- Source:
getCampaigns(id, callback)
returns campaigns for a team
Parameters:
Name | Type | Description |
---|---|---|
id |
string | the team id to look up |
callback |
* | a function to call when data is returned |
- Source:
getMembers(id, callback)
returns a info about a campaign attached to a team
Parameters:
Name | Type | Description |
---|---|---|
id |
string | the team id to look up |
callback |
string | a function to call when data is returned |
- Source: