Commit graph

73 commits

Author SHA1 Message Date
Mingwei Samuel
f716a30e31 Standardize re-export of reqwest 2020-04-21 00:48:57 -07:00
Mingwei Samuel
81326a5452 Add status code to RiotApiError, handle 204 to return None 2020-03-31 12:49:17 -07:00
Mingwei Samuel
7f1b9534a9 Running srcgen for new clash endpoint 2020-03-31 12:07:13 -07:00
Mingwei Samuel
b8b3ec83f0 Adding iters to enums, updating a bunch of documentation 2020-02-01 16:56:10 -08:00
Mingwei Samuel
21ddff04ac Making spectator-v4.CurrentGameInfo.gameQueueConfigId optional 2020-01-29 17:51:58 -08:00
Mingwei Samuel
0e200a80fb Update: add LorRankedV1, add Sett, re-add get_matchlist season param 2020-01-26 14:15:16 -08:00
Mingwei Samuel
cf23db7361 Upgrade to reqwest 0.10, tokio 0.2, release 0.2.0 2019-12-30 21:36:23 -08:00
Mingwei Samuel
2233be4dcb Updating from schemas 2019-12-02 09:34:54 -08:00
Mingwei Samuel
a604b5f39e Update doctests 2019-11-07 16:38:53 -08:00
Mingwei Samuel
8c2cf64784 Update return Option only if x-nullable-404 2019-11-07 16:06:01 -08:00
Mingwei Samuel
9dfe5a4aaa Update to work on stable 1.39 2019-11-07 12:45:13 -08:00
Mingwei Samuel
48d0903138 Version 0.1.0 2019-11-05 00:19:33 -08:00
Mingwei Samuel
dc751ee207 Update champion docs 2019-11-04 23:29:20 -08:00
Mingwei Samuel
914ce35259 Change region to be an enum 2019-11-04 17:00:59 -08:00
Mingwei Samuel
3d0b42e31c readme example 2019-11-03 14:36:30 -08:00
Mingwei Samuel
1581425206 update readme 2019-11-03 12:04:25 -08:00
Mingwei Samuel
de8cd21e94 move dtos to 'models' module 2019-11-03 10:48:45 -08:00
Mingwei Samuel
f2e70246bf Update champion, enums, and srcgen docs 2019-11-03 10:36:51 -08:00
Mingwei Samuel
a074b5ebed enable setting client builder in config 2019-11-02 22:42:14 -07:00
Mingwei Samuel
a1b5406ac3 Updating bucket rate limiting system, adding bulk tests 2019-11-02 20:55:07 -07:00
Mingwei Samuel
1b7d78e5e3 Updating nullability, fixing JS sort bugs 2019-10-31 01:09:20 -07:00
Mingwei Samuel
2bd0e2ac4c update tests 2019-10-30 22:52:00 -07:00
Mingwei Samuel
9db4c1a4a5 making some enums
#[non_exhaustive]
2019-10-30 13:29:23 -07:00
Mingwei Samuel
15faf83241 adding tests, fixing divsiion serialization
DTO changes are temp due to autogen
2019-10-30 13:24:14 -07:00
Mingwei Samuel
f1c31a59fa fix usage of enums in endpoints 2019-10-29 16:51:41 -07:00
Mingwei Samuel
541ec9762c fixup! fix endpoint.rs indentation 2019-10-29 15:38:46 -07:00
Mingwei Samuel
bc996a34e0 fix endpoint.rs indentation 2019-10-29 15:25:53 -07:00
Mingwei Samuel
5f5a32d753 make 'Official API Reference' not h1 in docs 2019-10-27 12:15:22 -07:00
Mingwei Samuel
375a98492c remove trailing ' ' in favor of <br> 2019-10-27 01:56:22 -07:00
Mingwei Samuel
b230f266e1 Change enum variants to use SCREAMING_SNAKE_CASE since they are really sets of constants 2019-10-27 01:52:55 -07:00
Mingwei Samuel
2511734bd5 reorganizing modules, sorting enums 2019-10-27 01:34:10 -07:00
Mingwei Samuel
e6d8bc5add Fix: do not export serde_string! macro 2019-10-27 00:46:18 -07:00
Mingwei Samuel
3505dc10a9 adding token bucket burst, tests 2019-10-27 00:43:56 -07:00
Mingwei Samuel
9e66efb8ad adding burst_pct to config 2019-10-26 21:57:36 -07:00
Mingwei Samuel
506aed8b30 pruning dependencies a bit 2019-10-26 15:34:31 -07:00
Mingwei Samuel
df27e7533e adding/switching to num_enum macros for enums 2019-10-26 09:28:30 -07:00
Mingwei Samuel
58cf643e13 adding enums to serialization 2019-10-25 22:19:00 -07:00
Mingwei Samuel
fdd1b1516c update team enum 2019-10-25 19:54:29 -07:00
Mingwei Samuel
9c4d3608eb Adding Map enum 2019-10-25 19:52:43 -07:00
Mingwei Samuel
aece28af4d adding GameMode enum 2019-10-25 19:41:41 -07:00
Mingwei Samuel
adec5f0df8 adding game_type, removing unneccesary std::fmt::Debug imports 2019-10-25 19:38:08 -07:00
Mingwei Samuel
561eb04c48 updating season enum traits 2019-10-25 19:27:58 -07:00
Mingwei Samuel
5b4981f227 adding tier enum 2019-10-25 19:24:08 -07:00
Mingwei Samuel
44b12c2f32 Add division enum, update enums with strum macros, serde_repr 2019-10-25 13:37:23 -07:00
Mingwei Samuel
42c6801453 Adding QueueType enum 2019-10-25 12:44:45 -07:00
Mingwei Samuel
57a37b5a0f adding team enum 2019-10-25 12:30:03 -07:00
Mingwei Samuel
f671eea1bb rename queue enums with 'deprecated' 2019-10-25 09:52:55 -07:00
Mingwei Samuel
0352d65d21 remove iso date from enums to prevent spurious diffs 2019-10-25 09:47:45 -07:00
Mingwei Samuel
33803631cb Adjust season enum 2019-10-23 01:26:34 -07:00
Mingwei Samuel
143e45e5d5 fixup! Updating to use custom error struct, adding docs 2019-10-23 01:21:51 -07:00