PDA

View Full Version : API for coding?



hackman2007
06-15-2009, 09:37 PM
Hi, I'm hackman2007 from the Maximum PC Folding@Home team.

I like how your stats site has a lot of graphs and has records of almost everything.

I was talking to a programming friend today and he asked if there was an API to code against to pull stats for competitions and such?

Is there such a thing available?

Bok
06-15-2009, 10:19 PM
Not really no I'm afraid. Most stats sites do it different I guess.

The underlying principles are the same though.

Let's take boinc projects for an example seeing as they are identical.

Each project exports a set of xml files.

So, what is needed is the following :

1. Download xml files
2. Parse xml and insert/update to team/user/host database tables
3. Perform ranking, check milestones, team movement, combined scores etc etc
4. Slice and dice data as required.
5. Display data :)

Of course that is fairly simplistic. The database is probably the most important part to get right..

Hope that helps, let me know if you need any help.

Bok

*EDIT* After re-reading your post, I'm thinking perhaps you meant an API to pull data from the Free-DC stats ? I don't as such, but then again I have written some custom outputs for other teams like Dutch Power Cows and TeAm Anandtech which they use to pull data daily/weekly so let me know what you are after and I can almost certainly accomodate..