Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pricing data info returns empty #17

Open
gnall opened this issue Apr 25, 2023 · 1 comment
Open

Pricing data info returns empty #17

gnall opened this issue Apr 25, 2023 · 1 comment

Comments

@gnall
Copy link

gnall commented Apr 25, 2023

https://scryfall.com/card/iko/162/kogla-the-titan-ape

!'Kogla, the Titan Ape' returns the result https://scryfall.com/card/iko/162/kogla-the-titan-ape

I get an empty result when I try to get the pricing data. It works for other cards, but certain ones return an empty string.

In my case it's empty for these 2:

Kogla, the Titan Ape
Stoneforge Mystic

Here's my google sheets, Look for the neon pink squares for the 3 cards listed above.
https://docs.google.com/spreadsheets/d/1po2M-WYUFiK040g5wustrGt1ptpH1DesTOgfgZhAMrE/edit?usp=sharing

My first guess is that you're not ignoring "Treasure Chest" & "Magic Online promos" printings of the cards and it's seeing an empty string and treating that as the lowest value. Might need some type checking there to make sure it doesn't treat empty strings as the lowest price.

I also opened a Scryfall support ticket incase it's an issue on the API side of things.

Thanks for your help!

@gnall
Copy link
Author

gnall commented Apr 25, 2023

Update: If I remove the sort by "price" in the query. Then I get results. But still not behaving as intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant