Commit graph

18 commits

Author SHA1 Message Date
Mingwei Samuel
40d49f837d Add non-get methods with body params 2021-05-21 18:22:51 -07:00
Mingwei Samuel
53230dd8df Update RiotApi for new execute() methods, remove old get() methods 2021-05-21 17:38:59 -07:00
Mingwei Samuel
8934790c1c Upgrade srcgen to use requests 2021-05-21 17:31:52 -07:00
Mingwei Samuel
7f046e99f7 Adding execution of arbitrary Reequests 2021-05-21 16:00:39 -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
b8b3ec83f0 Adding iters to enums, updating a bunch of documentation 2020-02-01 16:56:10 -08:00
Mingwei Samuel
8c2cf64784 Update return Option only if x-nullable-404 2019-11-07 16:06:01 -08:00
Mingwei Samuel
914ce35259 Change region to be an enum 2019-11-04 17:00:59 -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
79ad933e91 Updating to use custom error struct, adding docs 2019-10-23 00:39:40 -07:00
Mingwei Samuel
c3c3e639ee update error handling 2019-10-22 19:36:03 -07:00
Mingwei Samuel
0029b08d9a reorganizing a bunch of stuff 2019-10-21 22:43:06 -07:00
Mingwei Samuel
22103fea05 removing lifetime parameter from RiotApi 2019-10-21 21:47:15 -07:00
Mingwei Samuel
c7b3cab8b0 hacked-in async tests 2019-10-20 16:02:07 -07:00
Mingwei Samuel
346e12656b code generation working 2019-10-20 00:54:38 -07:00
Mingwei Samuel
ee75f75e0c first request made :) 2019-10-17 16:25:26 -07:00