• Categories
  • Popular
  • Dev Tracker
Skins
  • Default (The Show 25)
  • No Skin
  • The Show 23
  • Dark
  • The Show 24
  • The Show 25
Collapse
THESHOW.COM
Game Game Support Support My Account My Account

Community Forum

MLB API Showcase

Scheduled Pinned Locked Moved Websites
15 Posts 9 Posters 4.7k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • tobybartlett_MLBTST Offline
    tobybartlett_MLBTST Offline
    tobybartlett_MLBTS
    wrote on last edited by
    #6

    Any suggestions on how to create a custom iOS app that can authenticate and retrieve listings? Just looking for some sample swift code

    1 Reply Last reply
    0
  • Dabum007_XBLD Offline
    Dabum007_XBLD Offline
    Dabum007_XBL
    wrote on last edited by
    #7

    I was wondering for the game log api if we can get the name of the league included not just league.

    1 Reply Last reply
    0
  • wuptii999_PSNW Offline
    wuptii999_PSNW Offline
    wuptii999_PSN
    wrote on last edited by wuptii999_PSN
    #8

    A buddy and I have created a "companion" website for MLB The Show.

    Website: https://www.theshowbase.com/
    Android app: https://play.google.com/store/apps/details?id=com.theshowbase
    Platform: Web/App
    Code: Nextjs/Python
    Functions: Database, prices, team builder, mini games (bingo, pack opener, grand slam guess, etc) and much much more.

    We are proud of the work so far, and keep adding features, tools and similar - You are more than welcome to post any feedback or specific request.

    As a side note I think our team builder is the best there is out there 🙂

    1 Reply Last reply
    0
  • MarioMendoza935_XBLM Offline
    MarioMendoza935_XBLM Offline
    MarioMendoza935_XBL
    wrote last edited by MarioMendoza935_XBL
    #9

    I really like the APIs, and have used Excel/Power BI/Power Query to pull in data for analysis. The only one I can't get to work is the "Inventory" one. On the documentation, it states "User must be logged in to make this API call".

    https://mlb25.theshow.com/apis/docs/inventory

    I can't seem to pass my login information to "My Account". I'm guessing it might be because there are 4 different ways to log in (The Show, Xbox, PS or Switch). I've searched a bunch of places on the web, and it looks like others struggle with the same problem. I know that Showzone has figured it out, but I'd love to simply pull this data myself.

    Anyway - let me know if anyone has figured this out. Thank you!

    @Blind_Bleeder_PSN @Pat_SDS_PSN FYI

    Blind_Bleeder_PSNB 1 Reply Last reply
    0
  • Blind_Bleeder_PSNB Offline
    Blind_Bleeder_PSNB Offline
    Blind_Bleeder_PSN
    replied to Guest last edited by
    #10

    @MarioMendoza935_XBL said in MLB API Showcase:

    I really like the APIs, and have used Excel/Power BI/Power Query to pull in data for analysis. The only one I can't get to work is the "Inventory" one. On the documentation, it states "User must be logged in to make this API call".

    https://mlb25.theshow.com/apis/docs/inventory

    I can't seem to pass my login information to "My Account". I'm guessing it might be because there are 4 different ways to log in (The Show, Xbox, PS or Switch). I've searched a bunch of places on the web, and it looks like others struggle with the same problem. I know that Showzone has figured it out, but I'd love to simply pull this data myself.

    Anyway - let me know if anyone has figured this out. Thank you!

    @Blind_Bleeder_PSN @Pat_SDS_PSN FYI

    My son gave me some code to work off of a couple of months ago, but I haven’t taken the time to massage it. I put in a request for them to add parameters for username and password, but it never happened. I need to try the code my son gave me…but, I need an incentive too, and 25 isn’t giving me that…

    1 Reply Last reply
    1
  • Dolenz_PSND Offline
    Dolenz_PSND Offline
    Dolenz_PSN
    wrote last edited by Dolenz_PSN
    #11

    Okay, I have been playing more with google ai studio to create a program using the API data instead of using a manually updated spreadsheet. Here is what I have so far. I may look into expanding it more and maybe implement some more reports if I come up with them.

    There were definitely some false starts and bugs along the way.

    Here is the main Screen

    alt text

    1. The ability to manually fetch data from the servers and then the ability to export and import that data so I don't need to pull the data every time

    2. Imported player count

    3. Reports - I currently have two implemented. My flashbacks and legends per team count and a list and count of a specific teams card series

    alt text

    alt text

    1. Search and filters

    2. A details link that displays more info on the card including the art, location and secondary positions.

    alt text

    MarioMendoza935_XBLM 1 Reply Last reply
    2
  • MarioMendoza935_XBLM Offline
    MarioMendoza935_XBLM Offline
    MarioMendoza935_XBL
    replied to Guest last edited by
    #12

    @Dolenz_PSN said in MLB API Showcase:

    Okay, I have been playing more with google ai studio to create a program using the API data

    Is this something you can share? This looks great. Do you have a technical background?

    Dolenz_PSND 1 Reply Last reply
    0
  • Dolenz_PSND Offline
    Dolenz_PSND Offline
    Dolenz_PSN
    replied to Guest last edited by Dolenz_PSN
    #13

    @MarioMendoza935_XBL said in MLB API Showcase:

    @Dolenz_PSN said in MLB API Showcase:

    Okay, I have been playing more with google ai studio to create a program using the API data

    Is this something you can share? This looks great. Do you have a technical background?

    I have a modicum of technical knowledge but nothing that really helped me with this. What skills did help me with this is 30 years or so of working in IT support. I was able to help the program debug some errors it had because there were times it just was not working.

    For example it kept pulling the same page over and over again and swearing that the data contained duplicates and I had to specifically ask it "Are you sure you are properly incrementing the page number and not just pulling page 1 over and over again?"

    But I will try and share. I have never done this before so I am not sure how it works. I would highly suggest that you fetch fresh data one time then immediately export and then use the import function. There should be no need to fetch again until SDS has actually added cards, simply import the existing data as it is much faster. The initial fetch takes several minutes. I had to slow it down because the server was throttling the app for pulling too much too fast.

    I did this on a PC in a chrome browser. I have no idea if it will work in other environments.

    MLB Player Card Finder

    Let me know if it works for you

    MarioMendoza935_XBLM 1 Reply Last reply
    0
  • MarioMendoza935_XBLM Offline
    MarioMendoza935_XBLM Offline
    MarioMendoza935_XBL
    replied to Guest last edited by
    #14

    @Dolenz_PSN said in MLB API Showcase:

    Let me know if it works for you

    It works for me!

    I "fetched" the data, which just took a few minutes. The "2686" unique players matches what I have done via Excel/Power Query. When you mention the "duplicates", I had the same issue in Power Query. I was basically loading page 1, 108 times. Once I got it to "loop", everything is fine.

    I filtered immediately on "Pirates, Legends & Flashbacks", and it matches what I have in Excel. This is really great stuff.

    P.S. I didn't have to do the "Export/Import" function to get this to work. I did do an Export just to see what was in it, and it's the same JSON file that I'm importing into Excel.

    Dolenz_PSND 1 Reply Last reply
    0
  • Dolenz_PSND Offline
    Dolenz_PSND Offline
    Dolenz_PSN
    replied to Guest last edited by Dolenz_PSN
    #15

    @MarioMendoza935_XBL said in MLB API Showcase:

    @Dolenz_PSN said in MLB API Showcase:

    Let me know if it works for you

    It works for me!

    I "fetched" the data, which just took a few minutes. The "2686" unique players matches what I have done via Excel/Power Query. When you mention the "duplicates", I had the same issue in Power Query. I was basically loading page 1, 108 times. Once I got it to "loop", everything is fine.

    I filtered immediately on "Pirates, Legends & Flashbacks", and it matches what I have in Excel. This is really great stuff.

    P.S. I didn't have to do the "Export/Import" function to get this to work. I did do an Export just to see what was in it, and it's the same JSON file that I'm importing into Excel.

    I use the export and import to speed things up. There is no reason to refetch the data again until SDS releases a new batch of cards.

    Maybe later I will try and add the buy now and sell now prices to the details page.

    1 Reply Last reply
    1

X Instagram Facebook YouTube Twitch Discord TikTok
Major League Baseball Players Association Major League Baseball Sony Interactive Entertainment PlayStation Studios San Diego Studio ESRB ESRB Certificate
Terms of Use Privacy Policy TheShow.com Community Code of Conduct MLB The Show Online Code of Conduct MLB The Show Games

Stubs is a registered trademark or trademark of Sony Interactive Entertainment LLC.

"PlayStation Family Mark", "PlayStation", "PS5 Logo", and "PS4 Logo" are registered trademarks or trademarks of Sony Interactive Entertainment Inc.

Microsoft, the Xbox Sphere mark, Series X|S logo, and Xbox Series X|S are trademarks of the Microsoft group of companies.

Nintendo Switch is a trademark of Nintendo.

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com. The Baseball Hall of Fame and Museum trademarks and copyrights are used with permission of the National Baseball Hall of Fame and Museum, Inc., as applicable. Visit the official website of the Hall of Fame at BaseballHall.org

Officially Licensed Product of MLB Players, Inc. MLBPA trademarks, copyrighted works and other intellectual property rights are owned and/or held by MLBPA and may not be used without the written consent of MLBPA or MLB Players, Inc. Visit MLBPLAYERS.com, the Players Choice on the web.

© 2024 Sony Interactive Entertainment LLC.

  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Popular
  • Dev Tracker
  • Login

  • Login or register to search.