• 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

API Not Pulling Complete List

Scheduled Pinned Locked Moved Diamond Dynasty
5 Posts 3 Posters 379 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.
  • B Offline
    B Offline
    Bigdaddy0231
    wrote on last edited by
    #1

    I tried to use the API to pull in the cards and listings, but the result from the API call is only spitting out 4 total pages of data. Is this expected or normal behavior for the API, or is there some other parameter in the call to get the rest of the listings on the market?

    1 Reply Last reply
    0
  • PeuswahBoy_PSNP Offline
    PeuswahBoy_PSNP Offline
    PeuswahBoy_PSN
    wrote on last edited by
    #2

    I think there's a "page" parameter that needs to be passed. I messed with it a bit, but it seems flaky.

    1 Reply Last reply
    0
  • B Offline
    B Offline
    Bigdaddy0231
    wrote on last edited by
    #3

    I used the page parameter and got to 4 and saw the "total pages":4 result in the response and never tried anything beyond appending "?page=4" to the end of the call. I just tried page=5 and got data back, so I guess it's trial and error to find out how many pages there are.

    1 Reply Last reply
    0
  • B Offline
    B Offline
    Bigdaddy0231
    wrote on last edited by
    #4

    84 pages is how many there are for Items. 70 for listings

    1 Reply Last reply
    0
  • LankyRyan_PSNL Offline
    LankyRyan_PSNL Offline
    LankyRyan_PSN
    wrote on last edited by
    #5

    Running into a similar issue, this api is wonky. My guess is the call only retrieves the data for 4 pages at a time by default, so some sort of GET ALL PAGES request will need to be added

    1 Reply Last reply
    0
  • A admin locked this topic on

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.