Allo,

I'd like to snarf a bunch of MPs data from TWFY to seed a little  
database project, and I want to make sure I don't do anything horribly  
antisocial or dickish like take the servers down. Hopefully I'm just  
being responsibly paranoid. :) I've got my API key and my  
parliamentary licence.

Basically I want to call getMPs and getLords once each, then getMPInfo  
on each person mentioned. I'm pretty much just looking for names,  
dates, wikipedia/grauniad/bbc URLs, and a couple of other things, but  
I also want to link back to TheyWorkForYou for each person, otherwise  
I'd cheerfully use the parlparse XML files (or am I missing something  
obvious?)

So just a couple of questions:

First, what's "low volume"? My assumption is that 2 requests a second  
is a reasonable maximum, but can I actually do way more (or should I  
do even less?)

Secondly, is it better to pass 50 ids to getMPsInfo (obviously not  
twice a second) than to make 50 individual getMPInfo requests? How  
many ids should I be passing at a time?

Thanks very much for your time!

--
Matt Robinson
http://inanimatt.com/


_______________________________________________
Mailing list [email protected]
Archive, settings, or unsubscribe:
https://secure.mysociety.org/admin/lists/mailman/listinfo/developers-public

Reply via email to