Commit Graph

87 Commits (v1.9.1)

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