The online racing simulator
Retrieve data for a personnal website
Hi! Is there a way to retrieve the number of point on SS to integrate it on my Team Website? It would be very usefull!
#2 - SamH
I really should get round to what I was going to do with this API
#4 - SamH
Don't make me put an IDK on there
Quote from SamH :Don't make me put an IDK on there

LOL - its not going to be heavy usage - well... could be aftertime actually.

Maybe we could come to some kind of... I dunno. I'll give it somet thought..

I'll PM you later :P
#7 - SamH
I'm sure it'll be fine.
I see that you have changed the team designation default :P. no longer just 0 .

I'll give it some thought to see if there is anything else that I would like added

edit: oh oh, thought of one - if they are currently within a server
#9 - SamH
Okies, try that
Snorted :P

I've also made my array named, rather than just numbered - I was just being lazy
#11 - SamH
hehe! Looking good!
Incar also works, just done a substr from the first character, to the first | within the variable contents

If there is anything else I can think of - I'll buzz ya
meh - yet another double post - incase edit's dont send email notification .

Good attitions would be
- Points Rank
- National Rank
- International Rank
#14 - SamH
Gah! We'll have to start caching at this rate!

I'll add those up by the points.. you may need to adjust your array a little.
haha, I think I will just add the cache anyway - So I can include it within a few ingame things.

If someone has lots of CTRA infractions, and needs a refund, I might just decline .

Why not add a ?required=races|podiums. and then it would only reply with those two fields

Unless you change the name of the field, I should not have to :P. but, will only take a second anyway
#16 - SamH
Give that a spin, see if it works for you. I've set national rank (natrank) to show individual states, for the US, and give results for those states rather than for the USA as a whole. I could do USA-wide, but this is more granular and more interesting.
#18 - SamH
Quote from Krammeh :Why not add a ?required=races|podiums. and then it would only reply with those two fields

I'll probably knock up a few different APIs for different things, so that people can pick and choose the stuff they want to retrieve. I'll do a team retrieval next, I think, so teams can incorporate their team's CTRA stats easily into their websites.
#19 - SamH
Quote from Krammeh :I've just replaced the "|" with " @ "

Prolly would look good replacing it with ", in "
Quote from SamH :Prolly would look good replacing it with ", in "

There - :P

Quote from SamH :I'll probably knock up a few different APIs for different things, so that people can pick and choose the stuff they want to retrieve. I'll do a team retrieval next, I think, so teams can incorporate their team's CTRA stats easily into their websites.

I'll be sure to use that .
Girls, isn't this why we have a PM system...

Fascinating the innerworkings of the world of CTRA bonding with the world of cruising.
Ya know, after re-reading what I have put, I put "cash" rather than "cache". I guess coding an insim app, and a profile script - while writing in the forums is not such a great idea? haha!



Quote from dawesdust_12 :Girls, isn't this why we have a PM system...

PM is for filth . Alteast, that's what I thought!

Quote from SpikeyMarcoD :Fascinating the innerworkings of the world of CTRA bonding with the world of cruising.

Meh - I'm also a racer dont forget that. I just happen to run a cruise server :P.

It's also good info to know - for example if someone asks for a refund and they have 12 CTRA infractions - we all know they are plonkers!
Thank you, CTRA is the best! It is just what i was searching for!!! Thanks from all the STS Racing Team!
#25 - SamH
1

FGED GREDG RDFGDR GSFDG