get_offices

Description:

Returns a listing of all offices in a city or state government, including the id and name of the office. For additional
information, call get_office on an id/name.

Samples

Get all offices for a city or state
http://ca.api.opencampaigns.com/api/get_offices

Get offices for a particular branch of the government
http://sf.api.opencampaigns.com/api/get_offices?branch_id=4

Developer notes: get_offices should return the district number with each office.