Skip to content

Town Hall project api v1

Megan Riel-Mehan edited this page May 13, 2018 · 6 revisions

Multiple member events:

members:[
{ party: Republican/Democratic,
  chamber: upper/lower, 
  govtrack_id: id,
  displayName: name,
  state: state,
  district: number
  
}],
districts: {
  [state]: districts[]
},

Changes:

  • Removing: State. Adding: stateName, Value: full state name
  • Removing: StateAb. Adding: state, Value: state abbreviation
  • Removing: District. Adding: district, Value: zero padded number (2 digits)
  • Removing: Party. Adding: party, Value: Democratic/Republican/Independent
  • Removing: Date. Adding: dateString, Value: Human readable start date

Town Hall Object:

Date: "Tue Jul 25 2017" //will be removed
District: "NV-4" //will be removed
Location: "Durango Hills YMCA"
Member: "Ruben Kihuen"
Notes: "Staff available but no the Congressman himself."
Party: "Democratic" //will be removed
State: "Nevada" //will be removed
Time: "09:00 AM"
address: "3521 N Durango Dr, Las Vegas, NV 89129"
dateObj: 1500998400000
district: "04"
enteredBy: "bhazelett@networklobby.org"
eventId: "-KoNis2A95IfVshhQP6Q"
eventName: "Mobile Office Hours"
govtrack_id: 412716
iconFlag: "staff"
lastUpdated: 1499358700677
lastUpdatedHuman: "Thu Jul 06 2017"
lat: 36.2248617
lng: -115.2807474
meetingType: "Office Hours"
party: "Democratic"
repeatingEvent: "Fourth Tuesday of each Month"
state: "NV"
stateName: "Nevada"
timeEnd: "12:00 PM"
timeEnd24: "12:00:00"
timeStart24: "09:00:00"
timeZone: "PDT"
yearMonthDay: "2017-07-25"
zoneString: "America/Los_Angeles"

Clone this wiki locally