Commit Graph

9 Commits

Author SHA1 Message Date
Rampoina 93e20513f5 Remove repeated function in script.py 2022-04-18 00:21:15 +02:00
Rampoina 63d5c1e918 Merge structure changes from WIP 2022-04-17 22:31:57 +02:00
Rampoina 74978a8ae4 Fix the structure to recursively contain spaces 2022-04-17 22:28:37 +02:00
Phil Morrell c61f0ce372
Merge branch 'wip'
* no real conflicts, just an additional function for script.py
2022-04-17 18:10:17 +01:00
Rampoina d0bda2688b Merge changes from master 2022-04-17 18:07:14 +02:00
Rampoina 2f626d7982 Add avatars and urls 2022-04-17 17:56:33 +02:00
Phil Morrell a0ff199506
transform the API json into a usable datastructure
* index by room_id and recursively build the Space hierarchy
* not proper tail recursion, and uses a global variable for now
* FlightGear Republic is both child and parent of FlightGear and JSBSim
* as proof of concept, print out the room name at correct depth
2022-04-17 14:27:35 +01:00
Phil Morrell e451a10bf3
refactor python to support multiple actions
* executable, license header
* prefer `with open` style to auto-close file handles
* keep hardcoding within __main__
2022-04-17 14:14:22 +01:00
Rampoina 775b89bd09 Add script 2022-01-16 20:14:03 +01:00