Commit Graph

13 Commits (e151309a4dc8eec52a57c65e2c5a3294d98a5d63)

Author SHA1 Message Date
Lertsenem d5a85266c8 Add skin support
characters are now a tuple ("charname", "charskin").
2020-07-09 09:52:31 +02:00
Lertsenem ee1104e36e Fix WFT typo 2020-07-09 09:52:20 +02:00
Lertsenem b73f10a8ba Fix typos in CHARACTERS translation dict 2020-07-08 07:52:37 +02:00
Lertsenem ba7843e3f5 Fix run_query() use of args by adding arguments
run_query() was copied from elsewhere and relied on args being
available to get the token and proxy config. Those are now passed as
function arguments.
2020-07-07 16:11:51 +02:00
Lertsenem e58ba0a3b3 Update Tournament location in conf()
Now with full address, city and country code.
2020-07-07 16:11:12 +02:00
Lertsenem 67fff05bb8 Fix Tournament slug
'slug' in the smash.gg API means all the string
"tournament/tournament-slug", but we only want the "tournament-slug"
part.
2020-07-07 16:10:14 +02:00
Lertsenem 290445a26d Add get_mains() method
Returns the list of chars used ordered by the number of time they were
used.
2020-07-07 16:09:22 +02:00
Lertsenem f5350d506f Order Player chars list based on choices in conf() 2020-07-07 16:08:47 +02:00
Lertsenem a21e8f80b6 Fix Player __init__
Players were all sharing the same chars attribute.
Use int instead of strings for placement and seeds.
2020-07-07 16:07:47 +02:00
Lertsenem 19a1c293c3 Add character translation in smashgg
Translate smash.gg weird characters ids into readable strings
2020-07-07 16:07:06 +02:00
Lertsenem 689261a720 Add imports in smashgg 2020-07-07 16:06:25 +02:00
Lertsenem f4116f46cb Add Player and Tournament classes in smashgg
These classes do not match 1:1 with their smash.gg equivalent, but are
more specific to this app.
2020-07-07 01:52:16 +02:00
Lertsenem 660fa7a7a9 Add basic smash.gg request function 2020-07-07 00:48:14 +02:00