1.0.8 • Published 8 years ago

@rttomlinson/sunlight_api_wrapper v1.0.8

Weekly downloads
2
License
ISC
Repository
-
Last release
8 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

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago