Commit Graph

42 Commits (35f826b1989a5bf37baaebd5875ec0d944df4a48)

Author SHA1 Message Date
Mingwei Samuel 6307a0aa13 Convert CRLF to LF 2021-06-30 16:40:35 -07:00
Mingwei Samuel 2989c4483e Convert Champion enum into newtype 2021-06-30 16:29:39 -07:00
Mingwei Samuel 1c4cadb6d9 Add matchlist test with mult-champion query string 2021-05-21 22:20:16 -07:00
Mingwei Samuel e7e40a3cc4 Add tests, fixes for tournament (stub) api 2021-05-21 21:59:51 -07:00
Mingwei Samuel dded4d5644 Use new routing instead of region 2021-05-21 21:25:19 -07:00
Mingwei Samuel 39af464170 Update faliure case tests 2021-05-21 19:06:50 -07:00
Mingwei Samuel 4f575530c7 Hide dead code warning in tests 2021-05-20 14:21:46 -07:00
Mingwei Samuel 0c48125e00 Regen, add `tft-league-v1.getTopRatedLadder` test 2021-05-09 09:58:48 -07:00
Mingwei Samuel 0f400ab43a Regen, update tests
- New `tft-league-v1.getTopRatedLadder` endpoint. #24
- Updated optionals on `tft-league-v1.LeagueEntryDTO`. #25
- New `RANKED_TFT_TURBO` `QueueType`. #25
- Test for `tft-league-v1.getLeagueEntriesForSummoner` added. #25
- Fixed whitespace on `잘 못` doc test (werid).
2021-05-09 09:49:44 -07:00
Mingwei Samuel 7bbe5fc3aa Update tests, release 1.11.2 2021-04-02 00:14:04 -07:00
Mingwei Samuel cd0ceddc9a Add val-content-v1 + val-ranked-v1 latam combo test 2021-01-16 14:17:13 -08:00
Mingwei Samuel 6c3d51a071 Update TR challenger test slice out of bounds 2021-01-16 13:25:34 -08:00
Mingwei Samuel 20b8d49b89 Upgrade to reqwest 0.11, tokio 1.0 2021-01-05 14:17:23 -08: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 5a78205dcd Add tutorial tests, regen for optional match-v4.TeamStatsDto.win 2020-08-02 20:31:24 -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 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 33cec4c395 Add match-v4 timeline test, regen to fix missing optionals
Fixes #10
2020-05-30 13:36:15 -07:00
Mingwei Samuel 21579835c0 Regen, fix issues with tft optional responses/fields 2020-05-02 12:55:37 -07:00
Michal Baumgartner fb0030e754 Make tests usable with any api key 2020-04-19 14:15:21 -07:00
Mingwei Samuel 0459b7d471 Adding two clash tests (one failing) 2020-03-31 12:07:33 -07:00
Mingwei Samuel 603de367c0 Comment out LOR test due to special API key required 2020-03-31 11:50:29 -07:00
Mingwei Samuel 01aebf5126 Fix typo causing tests to always succeed. 2020-03-31 11:46:26 -07:00
Mingwei Samuel 85f156cab8 adding lor_ranked_v1 get_leaderboards test 2020-01-26 14:42:02 -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 a50fb77fde add live game test 2019-12-02 09:34:53 -08:00
Mingwei Samuel 2d7a98ab2d removing unused test readme.rs.ignored 2019-12-02 06:44:28 -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 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 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 15faf83241 adding tests, fixing divsiion serialization
DTO changes are temp due to autogen
2019-10-30 13:24:14 -07:00
Mingwei Samuel 0029b08d9a reorganizing a bunch of stuff 2019-10-21 22:43:06 -07:00
Mingwei Samuel 02e9c2786a move generated classes to src 2019-10-20 19:32:04 -07:00
Mingwei Samuel c7b3cab8b0 hacked-in async tests 2019-10-20 16:02:07 -07:00