Description:
This method will return information and a list of the candidates for a particular office. sort_by allows sorting by district or
funds raised. If reverse=true, it sorts districts from highest to
lowest, and funds raised from lowest to highest.
Arguments:
- id: ID given to the entity.
- name: First and last name of the entity.
- sort_by: Parameter by which you want to sort the results. (district OR funds_raised)
- start: Show results starting with this value. 0 is the default
- count: The number of results to display, 10 is default
- reverse:
By default, results are sorted by contribution amount from highest to
lowest. reverse=true means sort from lowest to highest.
XML EXAMPLES
Get candidates with office id =5 in San Francisco http://sf.api.opencampaigns.com/api/get_candidates |
|