Method | Description | |
---|---|---|
BotRAPI ( string key, string secret ) : System | ||
BotRAPI ( string url, string version, string key, string secret ) : System | ||
Call ( string apiCall ) : string |
Call the API method with no params beyond the required
|
|
Call ( string apiCall, |
Call the API method with additional, non-required params
|
|
Upload ( string uploadUrl, |
Upload a file to account with optional arguments
|
|
Upload ( string uploadUrl, string filePath ) : string |
Upload a file to account without optional arguments
|
Method | Description | |
---|---|---|
UrlEncodeUCase ( string data, |
Convert hex chars to uppercase as per OAuth-spec requirement
|
|
buildArgs ( ) : void |
Append required arguments to URL
|
|
createWebClient ( ) : |
Construct instance of WebClient for request
|
|
getUnixTime ( ) : int |
Get timestamp in Unix format
|
|
queryStringToArgs ( ) : void |
Convert args collection to ordered string
|
|
signArgs ( ) : string |
Hash the provided arguments
|
public BotRAPI ( string key, string secret ) : System | ||
key | string | |
secret | string | |
return | System |
public BotRAPI ( string url, string version, string key, string secret ) : System | ||
url | string | |
version | string | |
key | string | |
secret | string | |
return | System |
public Call ( string apiCall ) : string | ||
apiCall | string | The path to the API method call (/videos/list) |
return | string |
public Call ( string apiCall, |
||
apiCall | string | The path to the API method call (/videos/list) |
args | Additional, non-required arguments | |
return | string |
public Upload ( string uploadUrl, |
||
uploadUrl | string | The url returned from /videos/create call |
args | Optional args (video meta data) | |
filePath | string | Path to file to upload |
return | string |
public Upload ( string uploadUrl, string filePath ) : string | ||
uploadUrl | string | The url returned from /videos/create call |
filePath | string | Path to file to upload |
return | string |