Commit graph

22 commits

Author SHA1 Message Date
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