2024 API Wishlist
-
We're excited to see what's in store for the websites and API in 2024! Here's a quick list of some things we'd love to see next year.
Game Log API - as MLB The Show does more with e-sports, adding a game log API could be beneficial. This would allow event hosts to build custom websites/dashboard promoting their events and would allow competitive players to do deeper dives into their own stats. Currently, the only way to get this information is by scraping - which isn't fun for anyone.
Captains API - some kind of API or addition to the API that shows which captains a card is eligible for.
How to Acquire Data - would be nice to have the "how to acquire" data as part of the player item API.
Content / Programs API
-
A user inventory API would be very helpful. A field for where the card originated (which program, pack, etc.), if they are going to reissue the Incognito cards, include the players name in the API.
These are all things Showzone has worked into their database, but it would be nice to have it come from an API.
-
Franchise data would be awesome as well. Would love to put together stat tracking and any sort of data display for a players career etc...
-
i would also like to be able to actually call the api from an application without CORS errors
-
@dubiouscentaur CORS error gotta be on your end man, I can call it on my computer no problem.
Are you attemping to call it directly from a frontend? Or a backend setup?
-
@sheyworth it's not i'm pretty sure - i can call the api directly just not via angular or any modern framework - the api returns no headers so i think that's the issue. It errors with a "fetch data" call even. What method are you using? thanks.
[Error] Fetch API cannot load https://mlb24.theshow.com/apis/listing.json?uuid=xxxxxxx due to access control checks.
-
P Pat_SDS_MLBTS pinned this topic on
-
P Pat_SDS_MLBTS unpinned this topic on
-
P Pat_SDS_MLBTS referenced this topic on
-
@Blind_Bleeder_PSN said in 2024 API Wishlist:
A user inventory API would be very helpful. A field for where the card originated (which program, pack, etc.), if they are going to reissue the Incognito cards, include the players name in the API.
These are all things Showzone has worked into their database, but it would be nice to have it come from an API.
So... Yes, this thread is very old (sorry @pat_sds_mlbts ), but I figured out a way to pull my entire card inventory (all 146 pages of it) using Power Automate and the API. It's a little clunky, but it works. I'll be happy to post a walkthrough if anyone is interested. Plus, now I know that I have 26 Andrew Chafin cards. Useful.
I haven't had any issues getting the other API data that doesn't require a login. I use Power Query within Excel to loop through all the pages and pull the data. It's pretty clean and fast, plus... I mean... Excel is the best tool created by humankind.
I know that @dolenz_mlbts has put together some really cool reports, but not sure if those can access a player's individual inventory.
-
@MarioMendoza935_XBL said in 2024 API Wishlist:
I know that @dolenz_mlbts has put together some really cool reports, but not sure if those can access a player's individual inventory.
I have not tried. Originally I thought it might get a lot of use by others so I purposely stayed away from the Inventory aspects as I figured people would get suspicious of any login prompts.
I honestly think the inventory data is of somewhat limited use since we have no API data for programs or collections where being able to quickly view your inventory would be of the most use.
My current annoyance with the API is SDS' apparent inconsistency adding the recent captains data to the API. For example Al Kaline shows up in the Captain API. Jackson Holiday does not. I'd also love to see a card release date field.
-
@Dolenz_PSN said in 2024 API Wishlist:
I honestly think the inventory data is of somewhat limited use since we have no API data for programs or collections where being able to quickly view your inventory would be of the most use.
True. I'll mainly use it at the beginning of the season to see where I'm at with the LS collection, and match it against the market data to see how many millions of stubs I'm short by...
-
My app has a series cost estimator for pretty much every series except the Live series. I figured 1,200 calls to the market API to get current prices was too excessive and would probably be too slow.
The app also allows you to flag ones you already own to get immediate estimated cost updates for the remaining cost but it does not save that info between sessions.
I think I do have some form of team cost calculation report but there are so many reports in the app that I don't remember the exact details on ones I don't use much at all
EDIT
I got curious about my own app so I went and looked it up.
Team Report

Series Report
