new Request(request, logger)
A class to handle manual requests to SteamID on behalf of the bot account.
Parameters:
Name | Type | Description |
---|---|---|
request |
||
logger |
- Source:
Methods
getRequest(url, callback)
Send a custom GET request to any url on steam community while logged in as the bot account.
Parameters:
Name | Type | Description |
---|---|---|
url |
||
callback |
- Source:
getRequestAPI(apiInterface, version, method, options, callbackRequestAPI)
Send GET Request to SteamAPI with details
Parameters:
Name | Type | Description |
---|---|---|
apiInterface |
(String) - Interface name | |
version |
(String) - Interface version (v1 or v2 depending on interface) | |
method |
(String) - method to access | |
options |
Data to attach to request | |
callbackRequestAPI |
- |
- Source:
postRequest(url, callback)
Send a custom POST request to any url on steam community while logged in as the bot account.
Parameters:
Name | Type | Description |
---|---|---|
url |
||
callback |
- Source: