Version1
Api version 1 client
Constructor Summary
Public Constructor | ||
public |
constructor(token: String): Object Create a new instance |
Method Summary
Public Methods | ||
public |
Get a list of coding categories |
|
public |
codingCategory(name: String): Promise Get a single coding category |
|
public |
Perform a GET request |
|
public |
Get a spoken language by its name |
|
public |
Get a list of spoken languages |
|
public |
livestreamForUser(slug: String): Promise Get the current/latest livestream for a user |
|
public |
Get a list of livestreams |
|
public |
Get a list of on-air livestreams |
|
public |
Get the authenticated user |
|
public |
Get the chat account for the currently authenticated user |
|
public |
Get the followers of the currently authenticated user |
|
public |
Get the users that the currently authenticated user is following |
|
public |
Get the latest videos for the currently authenticated user |
|
public |
Get the current/latest livestream for the currently authenticated user |
|
public |
Get a list of videos for the currently authenticated user |
|
public |
Perform a request |
|
public |
scheduledBroadcast(id: Number): Promise Get a single scheduled broadcast by its ID |
|
public |
Get a list of the scheduled broadcasts |
|
public |
Get a user by their slug |
|
public |
Get a single video by its |
|
public |
Get a list of videos |
Public Constructors
Public Methods
public codingCategory(name: String): Promise source
Get a single coding category
Params:
Name | Type | Attribute | Description |
name | String | Category name eg. Javascript |
public language(name: String): Promise source
Get a spoken language by its name
Params:
Name | Type | Attribute | Description |
name | String | Language name |
public livestreamForUser(slug: String): Promise source
Get the current/latest livestream for a user
Params:
Name | Type | Attribute | Description |
slug | String | User's slug (username) |
public myLivestream(): Promise source
Get the current/latest livestream for the currently authenticated user
public scheduledBroadcast(id: Number): Promise source
Get a single scheduled broadcast by its ID
Params:
Name | Type | Attribute | Description |
id | Number | Scheduled broadcast ID |
public user(slug: String): Promise source
Get a user by their slug
Params:
Name | Type | Attribute | Description |
slug | String | User's slug (username) |