Results 1 to 4 of 4

Thread: Dedicated Server - HTTP API Request

  1. #1
    Kart Driver
    Join Date
    Oct 2011
    Posts
    69

    Dedicated Server - HTTP API Request

    Are there queries that can be send to the API to retrieve parameters, such as the name of the online participant, their time, the server's infos etc.

    Is there the possibility of recovering the API data as xml or json object?

    like localhost:9000/drivers-online.json
    or localhost:9000/drivers-online?refId=****.json // And to be sure is the good driver we want, the best way is to use the Steam public ID
    or localhost:9000/server-info.json

    I will want to do a livetiming with NodeJs and i don't want to parse Html or log file
    Last edited by Ph0eNiX; 08-05-2015 at 11:09.

  2. #2
    Moderator Blackvault's Avatar
    Join Date
    Apr 2012
    Location
    Northern Ireland, UK
    Posts
    795
    Platform
    PC
    Quote Originally Posted by Ph0eNiX View Post
    Are there queries that can be send to the API to retrieve parameters, such as the name of the online participant, their time, the server's infos etc.

    Is there the possibility of recovering the API data as xml or json object?
    Its currently in development. But yes there are plans to retrieve the server data from the API via JSON.

    Edit - you should have a stats page that displays the information, so you could screen scrape it until the JSON information is available.

    Pete
    Before posting a problem, make sure to check our Known Issues Threads: PC / PS4 / XB1

    Come visit my YouTube channel for TGC races and general Project Cars racing

  3. #3
    Kart Driver
    Join Date
    Oct 2011
    Posts
    69
    Thx to reply so fast, i will try.

    Keep pushing Pcars Devs, we believe on you!!

  4. #4
    Moderator Blackvault's Avatar
    Join Date
    Apr 2012
    Location
    Northern Ireland, UK
    Posts
    795
    Platform
    PC
    Quote Originally Posted by Ph0eNiX View Post
    Thx to reply so fast, i will try.

    Keep pushing Pcars Devs, we believe on you!!
    Trust me, I am waiting for the same feature to become available for my own app

    Pete
    Before posting a problem, make sure to check our Known Issues Threads: PC / PS4 / XB1

    Come visit my YouTube channel for TGC races and general Project Cars racing

Similar Threads

  1. Thrustmaster T300 FFB setrings request
    By dvc in forum PS4 - Technical Help & Support
    Replies: 5
    Last Post: 09-05-2015, 12:38
  2. Created a dedicated Server Linux of Windows CFG
    By gwadagamer in forum Multiplayer
    Replies: 7
    Last Post: 08-05-2015, 16:04
  3. Deadicated server crash
    By StClaus in forum PC - Technical Help & Support
    Replies: 3
    Last Post: 08-05-2015, 14:00
  4. Name Change Request Thread
    By born2bslow in forum PC - Technical Help & Support
    Replies: 3
    Last Post: 07-05-2015, 20:20

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •