Exporting data from puzzles

Hi all,
I’ve seen in some puzzle specific discussions how people have gathered stats about behavior of their bots or the behavior other players, as well as sometimes running genetic algorithms to adjust their bots’ parameters.
How are they accomplishing this. More specifically: How are they exporting out the data from the several games that codinggame plays out using your code into some external system? Can the code include sending HTTP requests to my API or something?