arkhamdb icon indicating copy to clipboard operation
arkhamdb copied to clipboard

Added path '/api/public/find?q=<query>' to find cads via API with the same query syntax used in cards listing

Open fafranco82 opened this issue 3 years ago • 3 comments

As I did in SWDestinyDB, this addition will be very helpful for 3rd party API consumers.

fafranco82 avatar May 13 '21 08:05 fafranco82

I'd love this! Was doing some API stuff today and was amazed to see this doesn't exist.

IdleMuse avatar Apr 26 '22 16:04 IdleMuse

I'd like to bump this PR again; this is a feature I'd absolutely love, it would make referencing the API infinitely easier and more flexible, opening up a lot of new use cases.

Entrox-Licher avatar Mar 21 '23 22:03 Entrox-Licher

I am not totally opposed to the idea, but the intention of the api is for all the card data to be requested once, and cached or loaded into memory, and then use whatever your application is written in to query it. (the deck builder essentially does that, and makes all card look ups client side in js)

The main concern is the extra load on the server if applications start looking up every card instead of loading the data from local storage.

Kamalisk avatar Mar 22 '23 16:03 Kamalisk