KZ Global API and Beta

Discussion in 'Announcements' started by Chuckles, Jul 11, 2017.

  1. Chuckles

    Chuckles SEMIPRO Staff Member KZGlobalAdmin Programmer KZ Server Owner

    Joined:
    Aug 29, 2015
    Messages:
    99
    Likes Received:
    273
    Hello KZers,

    The KZTimerGlobal Dev team has been working on a replacement for the existing global database in KZTimer. The new replacement is a web API that can be reached via http, making it available to plugins, browsers, mobile apps, and any web-enabled devices.

    Main features:
    • Support for all movement-based game modes
    • Global Jumpstats
    • More robust and easier to maintain global record system
    • Allows anyone to request an API key and read from the global DB
    Potential future uses:
    • Global ranks and tags
    • Showing player improvement
    • Save settings across servers
    We welcome any feedback on the API or its potential uses.

    Beta:

    A beta of the API and the sourcemod plugin that uses it are currently deployed across multiple servers. These servers are sending KZTimer times (both pro and tp), ownage jumpstats and godlike PB jumpstats to the API. The following servers are currently running the beta API:
    • All House of Climb KZTimer servers
    • Super Fun Climb Club | GLOBAL | KZTIMER | 24/7 (steam://connect/119.252.189.7:27270)
    • [KG] KZ Climb | !ws !knife | (steam://connect/151.80.111.219:27055)
    • [GSA] KREEDZ EUROPE [KZ Climb|Global|Timer|128tick|FastDL] (steam://connect/89.163.162.206:27015)
    • [GSA] KREEDZ EUROPE VIP [KZ Climb|Global|Timer|128tick|FastDL] (steam://connect/89.163.162.206:28015)

    As an example, Zach47 has created a toplist for jumpstats using the jumpstat data collected in the beta API:
    www.jacobwbarrett.com/kreedz/jumpstats.html

    We are monitoring the API’s health and will reconfigure to support higher loads in the future. Once the next stable version is ready, we’ll be able to add more servers to the beta. As this is a beta, data may be wiped on release and the plugin and API are subject to change.

    The Future:

    Over the upcoming months we’ll be working hard on the goals listed below:
    1. Continue to develop and improve the API
    2. Reconfigure KZTimerGlobal plugin to use API
    3. Work together with so0le to update kzstats.com
    4. Create a website similar to KZStats to hold the new data
    5. Look at integrating other plugins into API (SimpleKZ, CKSurf, InfTimer )
    6. ??
    7. Profit
    If you have any ideas or want to help, please let us know!

    Thank you,
    Chuckles and the Global Team
     
    Jak, Nthng, Dankhus and 18 others like this.
  2. Zach47

    Zach47 randomly hit 9 380s lol Staff Member KZGlobalAdmin Official Map Tester Pro Player

    Joined:
    Feb 8, 2016
    Messages:
    158
    Likes Received:
    628

    Also, for my website. I'll be updating and changing it as we move forward, so expect future updates.
     
    Last edited: Jul 11, 2017
    ム Aris, Zpamm, Joshua and 3 others like this.
  3. trueway

    trueway :thonkang:

    Joined:
    Sep 14, 2016
    Messages:
    10
    Likes Received:
    11
    hello
     
    Dicky, Zpamm and GameChaos like this.
  4. GameChaos

    GameChaos perfect jump ratio: 86.60% Official Map Tester Mapper

    Joined:
    Feb 20, 2016
    Messages:
    372
    Likes Received:
    593
    the hype is at 200%!!!!!!!!!! kztimer 3.0 bois :O
     
    Zpamm and trueway like this.
  5. Zpamm

    Zpamm Hold Tight Staff Member KZGlobalAdmin

    Joined:
    Jan 15, 2016
    Messages:
    778
    Likes Received:
    984
    MacBook
     
    Potts, Dicky, Sikari and 1 other person like this.
  6. Joshua

    Joshua EXPERT KZ Server Owner

    Joined:
    Oct 12, 2015
    Messages:
    361
    Likes Received:
    194
    Congrats on sub August beta [​IMG]

    Sounds like some pretty awesome updates!
     
    Netcode, ollyabc, Zpamm and 1 other person like this.
  7. Jak

    Jak Prodigy Official Map Tester

    Joined:
    Apr 15, 2017
    Messages:
    50
    Likes Received:
    31
    I'm gay.
     
    GameChaos likes this.
  8. Zpamm

    Zpamm Hold Tight Staff Member KZGlobalAdmin

    Joined:
    Jan 15, 2016
    Messages:
    778
    Likes Received:
    984
    Sorry for your loss
     
  9. MachineChaos

    MachineChaos Zane Pro Player

    Joined:
    Aug 17, 2015
    Messages:
    706
    Likes Received:
    806
    do u rock paper scissors to see who gets to make the post for the likes
     
  10. Sikari

    Sikari Yay for bugs! Staff Member KZGlobalAdmin Programmer

    Joined:
    Jul 31, 2016
    Messages:
    196
    Likes Received:
    326
    Of course!
     
    Dicky likes this.
  11. Zpamm

    Zpamm Hold Tight Staff Member KZGlobalAdmin

    Joined:
    Jan 15, 2016
    Messages:
    778
    Likes Received:
    984
    no klyve decides
     
    GameChaos likes this.
  12. zer0.k

    zer0.k REGULAR

    Joined:
    Jan 10, 2017
    Messages:
    41
    Likes Received:
    77
    [​IMG]
    the link is not available
     
    Last edited by a moderator: Jul 11, 2017
    GameChaos likes this.
  13. Zach47

    Zach47 randomly hit 9 380s lol Staff Member KZGlobalAdmin Official Map Tester Pro Player

    Joined:
    Feb 8, 2016
    Messages:
    158
    Likes Received:
    628
    Somehow you managed to click within the 1 hour of me messing with changing everything over to AWS from github. It'll work now.
     
  14. Zpamm

    Zpamm Hold Tight Staff Member KZGlobalAdmin

    Joined:
    Jan 15, 2016
    Messages:
    778
    Likes Received:
    984
    The image is not available
     
    GameChaos likes this.
  15. DanZay

    DanZay PRO Staff Member KZGlobalAdmin Programmer

    Joined:
    Jun 2, 2015
    Messages:
    562
    Likes Received:
    1,489
    nice
     
    GameChaos likes this.
  16. ム Aris

    ム Aris NULL>SKILL

    Joined:
    Mar 2, 2017
    Messages:
    54
    Likes Received:
    107
    make it so when u get globally banned for w/e reason the stats of that person get auto-deleted from the API
     

    Attached Files:

    GameChaos likes this.
  17. Sikari

    Sikari Yay for bugs! Staff Member KZGlobalAdmin Programmer

    Joined:
    Jul 31, 2016
    Messages:
    196
    Likes Received:
    326
    In the works. Coming soon™
     
    GameChaos likes this.
  18. ム Aris

    ム Aris NULL>SKILL

    Joined:
    Mar 2, 2017
    Messages:
    54
    Likes Received:
    107
    so will ur stats get deleted ? :thinking:
     
    GameChaos likes this.
  19. burny

    burny REGULAR

    Joined:
    Dec 16, 2015
    Messages:
    64
    Likes Received:
    84
    hey, just wondering if any kind of authentication is happening for servers sending to the api and if/why it actually is only http and not https.
     
    GameChaos likes this.
  20. Chuckles

    Chuckles SEMIPRO Staff Member KZGlobalAdmin Programmer KZ Server Owner

    Joined:
    Aug 29, 2015
    Messages:
    99
    Likes Received:
    273
    Heya,

    Currently it is simple API key based so each server gets its own secret API key. It doesn't check to see if the IP matches but I don't think it needs to. We'll see as we get closer to release.

    All calls will be over https as long as Steamworks supports it.
     
    burny, Jak and GameChaos like this.

Share This Page