Seb Bacon <[email protected]> wrote:
> 
> Hi,
>
> I'm probably being thick, but anyone know how I can go from a TWFY
> person ID to the URL of an MP's page?
>
> Thanks
>
> Seb

Seb,

If you don't mind whether the URL is human-readable, you can use
a person ID with the 'p' parameter, e.g.:

  http://www.theyworkforyou.com/mp/?p=10068

... or a member ID with 'm', e.g.:

  http://www.theyworkforyou.com/mp/?m=1997

The options are described in the comment here:

  http://github.com/mysociety/theyworkforyou/blob/master/www/docs/mp/index.php

regards,
mark

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

Reply via email to