1.0.8 • Published 9 years ago

@rttomlinson/sunlight_api_wrapper v1.0.8

Weekly downloads
2
License
ISC
Repository
-
Last release
9 years ago

Wrapper functions for the Sunlight API

available functions

getRepsByZipcode(zipcode) Calling this function will return an object with the following schema: { "location" : { "zipcode" : number, "city-state" : string }, "house" : [ { "name": string, "contact-info": {}, "party-affiliation" : string },... ], "senate" : [ { "name": {}, "contact-info": {}, "party-affiliation" : string },... ] }

getContactAndVote(id) { "location" : { "zipcode" : number, "city-state" : string }, "rep-info" : { "name": string, "contact-info": {}, "party-affiliation" : string }, "vote-record" : [ { "bill-name" : string, "bill-id" : string, "bill-summary" : string, "vote" : boolean },... ] }

Author: Renzo Tomlinson

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago