Python code to query smash.gg database and process matchups.
Integrated with Elasticsearch for easy kibana visualizations.
- Install Elasticsearch: Follow these instructions.
- Create an index labeled
event-data
:
PUT event-data
{
"mappings": {
"properties": {
"timestamp": {
"type": "date"
}
}
}
}
- Initialize an index for games:
PUT game-data
{
}
- Install the Elasticsearch python API with
pip install elasticsearch
- Run the
main.py
file to begin indexing