get_purchasees

Description:

This method will return the purchasees-- the vendors who an entity spent money with-- for a particular entity. You can find the id for a particular entity with search.

Arguments:

  • id: the entities id in opencampaigns.
  • year: The year
  • start: Show results starting with this value. 0 is the default
  • count: The number of results to display, 10 is default

EXAMPLES

This data only exists for city data (not state)

Show the top 5 purchasees Kamala Harris for 2007 (san francisco)
http://sf.api.opencampaigns.com/api/get_purchasees?id=1858&year=2007&count=5