Commit Graph
5 Commits
Author SHA1 Message Date
Lucki 35c80268bf [json_engine] Fix R0912 (too-many-branches) 2025-01-14 14:07:35 +01:00
Lucki 3942b311ac [json_engine] Add unit test 2025-01-14 14:07:35 +01:00
Lucki 64d954b350 [json_engine] mirror xpath functionality 2025-01-14 14:07:35 +01:00
Lucki 591d9c2505 [json_engine] document existing options 2025-01-14 14:07:35 +01:00
Lucki 18c3e08837 Fix usage of api_key engine setting
The value of `params['api_key']` isn't read anywhere.
Writing directly into the header object solves this quite easily though.

> [Users can authenticate by including their API key either in a request URL by appending `?apikey=<API KEY>`, or by including the `X-API-Key: <API KEY>` header with the request.](https://wallhaven.cc/help/api)
2025-01-06 12:25:33 +01:00