Officially document players "API"

Discussion in 'Forums Suggestions' started by Pillow, May 15, 2022.

  1. Pillow
    Offline

    Pillow blanky Premium

    Joined:
    May 27, 2019
    Messages:
    1,696
    IGN:
    Pilberry
    Due to a bit of digging, I found this, which is what the forums uses for the player list.

    My suggestion is just to actually document this somewhere, so people don't need to go digging through forums javascript files.

    EDIT: I also found this, though I'm not sure if it's fully public yet.
     
    • Support Support x 2
    Last edited: May 25, 2022
  2. Xstevey
    Offline

    Xstevey Active Member

    Joined:
    Oct 25, 2021
    Messages:
    252
    IGN:
    Stevecracking90s
    LOL I thought this was a VERY old thread used to document certain players that have become famous throughout the years for good or bad reasons. :skull:
     
  3. Pillow
    Offline

    Pillow blanky Premium

    Joined:
    May 27, 2019
    Messages:
    1,696
    IGN:
    Pilberry
    No, it just shows who's online :upsidedownface:
     
  4. Awesomolocity
    Offline

    Awesomolocity Well-Known Member

    Joined:
    May 7, 2013
    Messages:
    416
    IGN:
    Awesomolocity
    Support because it's cool when things like this are easier to find in case anyone wants to develop neat tools for us.
     
  5. PCcoolguy100
    Offline

    PCcoolguy100 Senior Member

    Joined:
    Apr 4, 2015
    Messages:
    1,378
    IGN:
    PCcoolguy100
    well thats good to know if I ever want to use the API
     
    • Friendly Friendly x 2
  6. abcdefu
    Offline

    abcdefu Active Member

    Joined:
    Apr 2, 2022
    Messages:
    26
    dunno what this means but support, sounds fire
     
  7. Ca1
    Online

    Ca1 Senior Member

    Joined:
    Apr 24, 2014
    Messages:
    4,094
    No support, please, just play the SkyBlock!
     
  8. ndrew11223344
    Offline

    ndrew11223344 Member

    Joined:
    Apr 28, 2021
    Messages:
    33
    IGN:
    ndrew112233
    Make the API yourself!!

    If you can find the source code and the entire player list then you can definitely make an API and host it yourself :p

    As for how useful it would be... I'm not sure it would have much value at all, pretty cool thing for a dev to tinker with though.

    I can see two ways of doing it
    1. Create a webapp that just scrapes the link you provided for the usernames on every GET request, cleans the data, and sends it back
    2. Maybe look more into block.js:63, specifically this line XenForo.ajax('index.php?server-status/' + id + '/query', {}, function(ajaxData, textStatus), if you go on the main page and set a breakpoint in the console at this line and read into ajaxData, you might be able to see more useful information than just online players.
     
  9. Pillow
    Offline

    Pillow blanky Premium

    Joined:
    May 27, 2019
    Messages:
    1,696
    IGN:
    Pilberry
    Cool, but.. I'm not asking for an API to be created, I'm asking for it to be documented.
     
  10. Krissy
    Offline

    Krissy hyyh Administrator Discord Administrator Premium Premium

    Joined:
    Nov 25, 2013
    Messages:
    18,007
    Sounds like a good idea, shouldn't be difficult to do. Support
     
    • Agree Agree x 1
  11. Pillow
    Offline

    Pillow blanky Premium

    Joined:
    May 27, 2019
    Messages:
    1,696
    IGN:
    Pilberry
    Thank you for your support :support:

    I think I found another endpoint (skyblock.net/friends-api/friends/get/<USERNAME>) but I'm not sure how it works, since I can't seem to get info from it.
     
  12. Dexuby
    Offline

    Dexuby Active Member

    Joined:
    Jan 5, 2021
    Messages:
    380
    IGN:
    Dexuby
    I doubt that those endpoints are meant to be used by regular players so it makes sense that there is no public documentation. It's not a public API. mat t
     
    • Informative Informative x 2
    • Agree Agree x 1

Share This Page