RillingDev/yugioh-deck-tool

Card Filter for User Collection

AlanOC91 opened this issue · 0 comments

Have another filter (maybe under Duel Links in format selection?) that reads from users saved collection on https://db.ygoprodeck.com/collection/

Background: Our collection manager is primarily synced with our pack opening simulator. If a user opens a pack, they can add the contents to the collection manager.

I could potentially make an API that reads the cards from the users collection on page load and then the format selector will filter those cards when used?

The API will only be called if the user is logged in which can be done through the PHP side of things.

I already have an API for the collection manager that is accessed when the user loads their own collection page so this could be easily replicated.

Let me know your thoughts. Shouldn't be too difficult but I could be overlooking something.