Commit graph

95 commits

Author SHA1 Message Date
Mingwei Samuel
19eeeae637 Regen for Viego, val-ranked-v1 2021-01-16 14:16:56 -08:00
Mingwei Samuel
426d8e9ee9 Fix strum pattern collisions 2021-01-05 14:38:46 -08:00
Mingwei Samuel
20b8d49b89 Upgrade to reqwest 0.11, tokio 1.0 2021-01-05 14:17:23 -08:00
Mingwei Samuel
2147b41d1e Add Valorant regions, TEMPORARY fix for #15 2020-12-11 13:00:16 -08:00
Mingwei Samuel
cb953f7b34 Regen for Rell and new status endpoints.
Fix #22
2020-12-11 12:18:47 -08:00
Mingwei Samuel
18b076203b Regen for missing tft-match-v1.UnitDto.chosen, Release 1.10.2
https://github.com/MingweiSamuel/riotapi-schema/issues/23

Fixes #20
2020-10-31 22:34:28 -07:00
Mingwei Samuel
3f00aa9d66 Regen for Seraphine and lor-match-v1 2020-10-23 18:21:30 -07:00
Mingwei Samuel
5be2884eb4 Regen, add tests for new optional fields
https://github.com/MingweiSamuel/riotapi-schema/pull/22
2020-10-01 06:13:14 +00:00
Mingwei Samuel
8f0bd8dbe7 Regen, release 1.9.1 2020-09-01 17:27:28 -07:00
Mingwei Samuel
5a78205dcd Add tutorial tests, regen for optional match-v4.TeamStatsDto.win 2020-08-02 20:31:24 -07:00
Mingwei Samuel
da1b82fcd7 Regen, updates gameMode enum, val match models 2020-08-02 20:30:49 -07:00
Mingwei Samuel
0f9d783b94 Update to use mingweisamuel.com/riotapi-schema/enums
https://github.com/RiotGames/developer-relations/issues/340
2020-07-28 09:45:35 -07:00
Mingwei Samuel
1a88ae6365 Update for account-v1 endpoint, fix for missing match-v4.PlayerDto.summonerId on bot games
Also adds test with bot game.
2020-07-26 16:35:57 -07:00
Mingwei Samuel
d2656a40de Regen for Valorant APIs & Lillia 2020-07-10 01:56:41 -07:00
Mingwei Samuel
a0b1234c16 Regen for udpated docs 2020-07-01 00:46:55 -07:00
Mingwei Samuel
3d56d7c722 Add meta module with ENDPOINT_PATH_METHODID map 2020-06-05 11:15:09 -07:00
Mingwei Samuel
b15672baaa get_optional parse Option to allow 'null' body 2020-06-05 11:15:09 -07:00
Mingwei Samuel
14e6faa24e Restructure, add RiotApi.get_raw_response(...) method useful for proxies.
New RiotApi.get_raw_response(...) method similar to existing
RiotApi.get(...) and RiotApi.get_optional(...), but does not parse the
result. Useful for proxies which just want to forward the content body.

Also adds tests to JP of failure cases.
2020-06-04 22:41:26 -07:00
Mingwei Samuel
ea1af34854 Re-export reqwest properly 2020-06-04 22:41:26 -07:00
Mingwei Samuel
ae6056569e Add UNRANKED to tier enum, fix #11 2020-06-02 12:45:40 -07:00
Mingwei Samuel
33cec4c395 Add match-v4 timeline test, regen to fix missing optionals
Fixes #10
2020-05-30 13:36:15 -07:00
Mingwei Samuel
b399ef4a4c Regen for missing tft-match-v1.InfoDto game_variation field #9 2020-05-04 11:29:51 -07:00
Mingwei Samuel
21579835c0 Regen, fix issues with tft optional responses/fields 2020-05-02 12:55:37 -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