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:
    291
    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. trueway

    trueway :thonkang:

    Joined:
    Sep 14, 2016
    Messages:
    22
    Likes Received:
    33
    hello
     
    Dicky, Zpamm and GameChaos like this.
  3. GameChaos

    GameChaos perfect jump ratio: 86.60% Official Map Tester Mapper

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

    Zpamm Hold Tight Staff Member KZGlobalAdmin

    Joined:
    Jan 15, 2016
    Messages:
    1,583
    Likes Received:
    1,019
    MacBook
     
    Potts, Dicky, Sikari and 1 other person like this.
  5. Joshua

    Joshua SEMIPRO KZ Server Owner

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

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

    Jak Prodigy

    Joined:
    Apr 15, 2017
    Messages:
    59
    Likes Received:
    32
    I'm gay.
     
    GameChaos likes this.
  7. Zpamm

    Zpamm Hold Tight Staff Member KZGlobalAdmin

    Joined:
    Jan 15, 2016
    Messages:
    1,583
    Likes Received:
    1,019
    Sorry for your loss
     
  8. MachineChaos

    MachineChaos Zane Pro Player

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

    Sikari PRO Staff Member KZGlobalAdmin Programmer

    Joined:
    Jul 31, 2016
    Messages:
    220
    Likes Received:
    351
    Of course!
     
    Dicky likes this.
  10. Zpamm

    Zpamm Hold Tight Staff Member KZGlobalAdmin

    Joined:
    Jan 15, 2016
    Messages:
    1,583
    Likes Received:
    1,019
    no klyve decides
     
    GameChaos likes this.
  11. zer0.k

    zer0.k REGULAR

    Joined:
    Jan 10, 2017
    Messages:
    46
    Likes Received:
    81
    [​IMG]
    the link is not available
     
    Last edited by a moderator: Jul 11, 2017
    GameChaos likes this.
  12. Zpamm

    Zpamm Hold Tight Staff Member KZGlobalAdmin

    Joined:
    Jan 15, 2016
    Messages:
    1,583
    Likes Received:
    1,019
    The image is not available
     
    GameChaos likes this.
  13. DanZay

    DanZay PRO Staff Member KZGlobalAdmin Programmer

    Joined:
    Jun 2, 2015
    Messages:
    567
    Likes Received:
    1,534
    nice
     
    GameChaos likes this.
  14. ム Aris

    ム Aris NULL>SKILL

    Joined:
    Mar 2, 2017
    Messages:
    53
    Likes Received:
    106
    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.
  15. Sikari

    Sikari PRO Staff Member KZGlobalAdmin Programmer

    Joined:
    Jul 31, 2016
    Messages:
    220
    Likes Received:
    351
    In the works. Coming soon™
     
    GameChaos likes this.
  16. ム Aris

    ム Aris NULL>SKILL

    Joined:
    Mar 2, 2017
    Messages:
    53
    Likes Received:
    106
    so will ur stats get deleted ? :thinking:
     
    GameChaos likes this.
  17. burny

    burny REGULAR

    Joined:
    Dec 16, 2015
    Messages:
    63
    Likes Received:
    82
    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.
  18. Chuckles

    Chuckles SEMIPRO Staff Member KZGlobalAdmin Programmer KZ Server Owner

    Joined:
    Aug 29, 2015
    Messages:
    99
    Likes Received:
    291
    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.
  19. Weeeishy

    Weeeishy NEW

    Joined:
    Dec 10, 2016
    Messages:
    1
    Likes Received:
    4
    Nice Laaa. Excited about this!
     
    ム Aris, Sikari, Zpamm and 1 other person like this.
  20. Jak

    Jak Prodigy

    Joined:
    Apr 15, 2017
    Messages:
    59
    Likes Received:
    32
    Would be good if kzstats.com had like 6 lines going horizontal showing the recent wrs for all ticks and runtypes instead of having 1 vertical line showing always only 1 type. You don't really have a good overview when you have to swtich to see recent wrs and it's tedious.
    Something that would look like this but with 2 more sections and titles for each section saying the tickrate and the runtype:
    [​IMG]
     

Share This Page