spring / upq

extracts metadata of game and map files of the spring engine
https://springfiles.springrts.com/
GNU General Public License v3.0
2 stars 5 forks source link

not valid json from exampleclient.py #43

Closed TurBoss closed 9 years ago

TurBoss commented 9 years ago

i'm trying to parse the output from exampleclient.py but json seems not valid not sure...

'timestamp': >DateTime '20150116T05:09:36' at 7f4746868170>,

the > was intentionally turned

abma commented 9 years ago

the example client uses xmlrpc. upq offers xmlrpc and a json api.

also the exampleclient just dumps the python datetime object, the console output is nothing you should use.

i guess that is what you want:

https://github.com/springfiles/upq/blob/master/doc/examplequery

big fat note: i'm not sure if this is still valid, the example is very old.

abma commented 9 years ago

imo nothing to fix, also idk where/what to improve with the docs, need more specific info to do so.