world record web api

Started by P.V.A.B.-jello
27/11/2013 07:43
Page 1 of 1
P.V.A.B.-jello27/11/2013 07:43(edited 27/11/2013 07:47)

http://dev.kz-endo.com/wrs

keep in mind it's a work in progress. it currently retrieves all the different routes for a map such as easy/medium/hard (ie. link) with the normal route defined as "normal". hopefully i plan to implement other url routes such as player/lewly, country/russia, time/gt/2m35s, time/lt/30s, etc.

grabbing daily from xj/cc text files.

if it isn't allowed to use the xj records file as part of a way to generate this api please inform me asap and i will take it down. my goal was to allow people to easily grab popular information without having to sift through text.

is this a dumb project/idea? should i quit while i'm ahead? is it amazing? i'd love to hear your thoughts.

Mik027/11/2013 13:39(edited 27/11/2013 13:41)

looks good. is it for kz-endo server top15 pages and let people view the info about wrs?
our 97club coder did something like this
records and release page from xj/cc/kzcn/world-surf text files http://top.iwan.pro/records.php
http://top.iwan.pro/records.php?type=XJ&lang=en
and click a player's name to view, like this http://top.iwan.pro/records.php?holder=g-Lp&lang=en
and we are currently working at the different routes stuff for servers, for example , there will be 4 top15 pages for kz_xj_3ways.

P.V.A.B.-jello27/11/2013 15:16

i think you are misinterpreting the intention of this project. my goal is to stop people from having to parse the different wr text files and instead simply be able to go to http://dev.kz-endo.com/wrs/{MAPNAME} to retrieve the necessary and most up-to-date wr information. for example, this could be utilized in the kz-endo.com records script when it loads the server records for a map to compare against the wr for that same map.

g-Lprecord holder Tournament #127/11/2013 15:59(edited 27/11/2013 16:02)

delete

g-Lprecord holder Tournament #127/11/2013 16:02

Nothing extraordinary I would say but it's still great :)

Originally posted by Mik0
looks good. is it for kz-endo server top15 pages and let people view the info about wrs?
our 97club coder did something like this
records and release page from xj/cc/kzcn/world-surf text files http://top.iwan.pro/records.php
http://top.iwan.pro/records.php?type=XJ&lang=en
and click a player's name to view, like this http://top.iwan.pro/records.php?holder=g-Lp&lang=en
and we are currently working at the different routes stuff for servers, for example , there will be 4 top15 pages for kz_xj_3ways.


That sick that you even have World Surf record heh

Fantasm27/11/2013 19:18

kz-endo REPRESENT!

P.V.A.B.-jello30/11/2013 06:53

added the following methods:
get all records: http://dev.kz-endo.com/wrs/all
get all records with time between x and y: http://dev.kz-endo.com/wrs/time/5/10 (doesn't matter which number is first; numbers must either be integer of up to two decimal places, ie. 5/5.2/5.27)

did a test page utilizing the new all method:
http://dev.kz-endo.com/test

2v312v234201/12/2013 20:22

good shit

irQuaker02/12/2013 00:07

Make a documentation of the API and put the source code on github.

Page 1 of 1

Please log in to post replies.