Commit Graph

30 Commits (master)

Author SHA1 Message Date
Lertsenem fa729e056d Change smash.gg URLs to start.gg
The package name stays the same though. start.gg is only added as
another URL for smash.gg, and used as replacement for the "api.smash.gg"
URL, in case the old one become deprecated.
2022-08-26 09:09:58 +02:00
Lertsenem c5e2e062b8 Fix seeding infos 2021-07-26 09:51:28 +02:00
Lertsenem 71279eb2a2 Use the multiple Games defined earlier 2021-07-03 20:20:43 +02:00
Lertsenem 3d1c2e6b20 Add other smash games base data 2021-03-03 09:11:03 +01:00
Lertsenem 3d04d83b08 Change PLAYERSKINSDB to a GET_PLAYERDATA function 2020-12-20 19:25:59 +01:00
Lertsenem 7b8d56bc9c Add redirect to players DB 2020-09-17 17:29:08 +02:00
Lertsenem 4c6408bd61 Add --use-smashgg-prefix option
Since most local results don't use player-set prefixes from smash.gg but
rather sponsor infos from the playerskins DB, it's easier to toggle off
the download of those prefixes from smash.gg by default.
2020-09-02 09:07:36 +02:00
Lertsenem 8ca17429de Add sponsor infos in DB 2020-08-21 11:34:02 +02:00
Lertsenem f807cf9c6f Fix str-to-pathlib conversion issues 2020-07-22 20:29:23 +02:00
Lertsenem a256a3045f Add relative import to smashgg 2020-07-22 18:08:49 +02:00
Lertsenem 6e2d697e12 Fix imports for setuptools 2020-07-20 23:54:32 +02:00
Lertsenem 7bd09dc959 Add support for playersinks db
Select a default skin depending on the player tag and the character
name.
2020-07-20 18:44:49 +02:00
Lertsenem 3d7509e639 Add --name-seo-delimiter option 2020-07-19 22:26:34 +02:00
Lertsenem 0686861296 Add a specific module for characters infos 2020-07-19 15:39:39 +02:00
Lertsenem 3d59251be5 Add Captain Falcon and Dr Mario smashgg ids 2020-07-17 20:17:08 +02:00
Lertsenem 6370484c4e Replace None by "" for teams and twitter names 2020-07-09 18:33:30 +02:00
Lertsenem 9427672d2f Add Min Min smash.gg id translation 2020-07-09 18:33:07 +02:00
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