getBaseUrl
string
getBaseUrl
(
void
)
The base URL for the API
- Parameters:
-
void <object>
- Returns:
string
- API URL stub
getVersion
string
getVersion
(
void
)
The base URL for the API
- Parameters:
-
void <object>
- Returns:
string
- API version
invoke
string
invoke
(
string
,
object
,
function
)
Make the API REST call
- Parameters:
-
string <object>
method The API method to be invoked -
object <object>
params JSON object of method parameters and their values -
function <object>
callback The JavaScript function to be invoked when the results are returned (JSONP implementation)
- Returns:
string
- API REST call URL
setVersion
string
setVersion
(
void
)
The base URL for the API
- Parameters:
-
void <object>
- Returns:
string
- API version