Description Usage Arguments Value Examples
This function is used to define the settings that will be used to collect the data, such as type of game, skill etc ...
1 2 |
key |
The api key obtained from Steam. If you don't have one please visit https://steamcommunity.com/dev in order to do so. |
game_mode |
The game mode can be a vector with one or more of these values:
(Default: 2, 22) |
lobby_type |
The lobby type can be a vector with one or more of these values:
(Default: 7) |
skill |
The skill bracket can be a vector with one or more of these values (except 0):
(Default: 3) |
duration |
The minimum duration of a match in seconds. (Default: 900) |
public_account_id |
The minimum of public account's id. (Default: 5) |
n_history_matches |
The amount of history matches that must be collected for each player in the game. (Default: 10) |
database_name |
The name of database that the data will be stored in MongoDB. (Default: dota2) |
A message saying that the settings have been logged.
1 2 | # An available API key
config(key = 'xxxxx-xxxxx')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.