1.0.8 • Published 7 years ago

@rttomlinson/sunlight_api_wrapper v1.0.8

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

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago