Matt Ford wrote:
> I'm also interested in obtaining this data, I was looking before and 
> found the parlparse dump which uses different IDs to mysoc.

No it doesn't, it uses the same IDs - the entries in the TheyWorkForYou 
MySQL database are generated directly from the parlparse XML files. The 
member IDs are in all-members.xml (for MPs anyway), and the person IDs 
are in people.xml.

ATB,
Matthew

> Matt Robinson wrote:
>> 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!


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

Reply via email to