Jump to content

Stats Are Back !!


Peanuthead

Recommended Posts

Sorry about that. That page didn't like all the sudden attention! I've added a couple of extra indexes, so it should be better behaved now. The above link returns a list of all >5000 UK cachers, with the least experienced at the top. For a better flavour of what the UK cacher stats provide, try listing the top 100 and click on a cacher name to get detailed stats for that team.

 

The database is updated automatically in two different ways. Firstly, pocket queries are emailed to the server. With only about 4700 caches in the UK, it doesn't take too many queries! Doing a large chunk of the US would require correspondingly more, but that's not a major problem.

 

The second method of updating the database is to download the cache details web pages from GC.com. This is becoming progressively more difficult, as each new tweak to GC.com seems to add an extra obstacle (eg session cookies, removing the cacher IDs used in pocket queries from the web pages etc). However, this is necessary, in order to get around the problems with pocket queries (mainly the limit on 5 recent logs, but there are one or two bugs to overcome too). On G:UK we trickle feed the database by downloading a cache or two every minute. Any more than that and it'd start to put strain on GC.com, which we don't want to do. This could have implications for any Northwest stats pages and you might have to choose which web pages to grab more carefully.

 

Other features like the interactive map, the plain static map, or the London Underground map are obviously UK specific, but anyone who wants to convert them for other countries is welcome to borrow my code.

 

The most difficult bit of writing the G:UK stats pages was getting permission from GC.com to use their data. So I'd strongly suggest this should be your starting point.

 

Cheers,

Ian

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...