Kiana Sheibani
d30dfb5372
Rework dataset functions to construct file
2023-09-23 02:38:49 -04:00
Kiana Sheibani
651c339ced
Write score calculation code
2023-09-23 02:36:28 -04:00
Kiana Sheibani
847547c248
Rework queries to be more convenient
2023-09-23 02:35:24 -04:00
Kiana Sheibani
6ce463b529
Add player names to tournament query
2023-09-23 00:11:53 -04:00
Kiana Sheibani
fe4f82daeb
Rename query response datatypes
2023-09-02 23:25:17 -04:00
Kiana Sheibani
326da19523
Make player name optional
2023-09-02 21:27:21 -04:00
Kiana Sheibani
98f140afff
Remove generic variable type from QueryUnwrap trait
2023-09-02 21:22:29 -04:00
Kiana Sheibani
9d5ff8f125
Write player info query
2023-09-02 20:46:23 -04:00
Kiana Sheibani
abd9f947ab
Hide implementation details of query
2023-09-02 19:48:47 -04:00
Kiana Sheibani
6287c325ef
Throw out sets containing invalid players
...
The previous code would keep these sets, but filter out the
invalid players. This has been changed to discard the set entirely.
2023-09-02 18:55:10 -04:00
Kiana Sheibani
1d870362b5
Generalize API request to handle teams of any size
2023-09-02 03:15:38 -04:00
Kiana Sheibani
38e7b4a018
Simplify API code using cynic flatten
2023-09-02 02:05:45 -04:00
Kiana Sheibani
66c6155a53
Get rid of generic ID scalar type
2023-09-02 01:56:14 -04:00
Kiana Sheibani
003fde0f1e
Move auth key function to query module
2023-09-02 01:47:52 -04:00
Kiana Sheibani
ce03cbcd2a
Workaround bug in server side
...
It took me SO LONG to figure out what the issue is...
2023-09-02 01:41:44 -04:00
Kiana Sheibani
badcec976a
Switch from surf to reqwest-blocking
...
Reqwest seems to be more popular, and a non-async API would simplify the
code without losing too much.
2023-09-02 01:36:28 -04:00
Kiana Sheibani
fa96725968
Write TournamentSets query test code
2023-08-28 00:57:20 -04:00
Kiana Sheibani
53cde72ede
Lightly refactor query code
2023-08-27 16:44:18 -04:00
Kiana Sheibani
07284bef06
Add tournament query
2023-08-27 16:18:22 -04:00
Kiana Sheibani
589277bb34
Rework query infrastructure
2023-08-27 16:18:03 -04:00
Kiana Sheibani
7751829bd5
Add ID wrapper types
2023-08-27 05:33:03 -04:00
Kiana Sheibani
c3a42da1d2
Add datasets module
2023-08-27 05:26:11 -04:00
Kiana Sheibani
050ae2facf
Add sqlite dependency
2023-08-27 05:05:49 -04:00
Kiana Sheibani
d5c3a7685f
Create automatic query response unwrapping trait
2023-08-27 04:32:55 -04:00
Kiana Sheibani
edcef12c2f
Generalize query running function
2023-08-27 03:52:38 -04:00
Kiana Sheibani
17c139f694
Fix ID bug
2023-08-27 03:11:23 -04:00
Kiana Sheibani
99217eedb6
Write basic API call
2023-08-27 03:02:18 -04:00
Kiana Sheibani
a1e23b453d
Write videogame search query
2023-08-26 23:48:13 -04:00
Kiana Sheibani
5fdc8cb50e
Write code to get auth key
2023-08-26 23:47:23 -04:00
Kiana Sheibani
e88066885e
Fix executable name
...
Cargo typically forces the executable name to be identical to the name
of the crate, which in this case is "cli". These config lines overwrite
that behavior.
2023-08-26 17:44:24 -04:00
Kiana Sheibani
298a8a5653
Change "scheme" to "schema"
...
Apparently I misread the GraphQL docs...
2023-08-26 16:25:11 -04:00
Kiana Sheibani
44c21d95ae
Basic package structure
2023-08-26 03:37:24 -04:00