- Python 2.7 (at least? idk Python 3)
- SC2Gears or something else that saves replays in a set format
- Ge.tt Account (atm)
- pygett module (see http://pypi.python.org/pypi/pygett/)
All my personal information (apikey, email, passwords, whatever) are stripped from this, obviously for security reasons
Ge.tt was used cause there's an easy api for it that I can just register :very: easily.
Drop.sc would've been better, but I don't have the money to spend for uploading zip's... and I don't think it's good to upload each file individually /shrug
python is used cause I like python more than C/C++/Java/whatever
SC2Gears saves the replays (in my settings) as "\/f\/d\/F4 - ./m./G./d./h./e", so I can sort out all the non 1v1 games, and then grab the games by date
I should say after doing this, python's slice was kinda funny :o
I can't really paste python code here too well because all the spaces get truncated. (I posted it on my blog cause <pre> tags are funny)
http://zhurai.com/683-personal-coding-project-python-based-sc2replay-uploader/
(things I learnt from doing this random project:
Zipfile/Zip library
pygett/gett api
python slices
Banging my head to use slices rather than randomly for no reason using rstrip which obviously isn't what I want... in another program....)
Now time to put this onto my taskscheduler to auto do this every 11:50pm .... :o