Commit graph

30 commits

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