Skip to content

Commit 734e490

Browse files
authored
Update README.md
formatting changes
1 parent 53ff79b commit 734e490

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,22 @@ Python scripts for interacting with planets.nu
44
Requires python to be installed on the computer: https://www.python.org/downloads/
55

66
1. pull_messages.py script
7+
78
Use:
89
python pull_messages.py [GAME_ID]
910

1011
GAME_ID is the 6-digit numeric game number that can be found in game history or in the URL of the game.
1112

1213
The script will:
14+
1315
a) check that the game exists and has finished (only finished games supported at the moment)
16+
1417
b) create a game_data/tmp local folder and download the game_data into the folder as a zip file
18+
1519
c) unzip the file into a game_data/tmp
20+
1621
d) extract all of the messages and export them into messages_[GAME_ID].csv file. The csv file can be opened using any text editor or Excel/Excel-like program
22+
1723
e) remove the files from game_data/tmp to save disk space
24+
1825
f) the zip file will remain in game_data folder. It can be deleted

0 commit comments

Comments
 (0)