Skip to content

Commit

Permalink
Merge 2974155 into 32a4ebb
Browse files Browse the repository at this point in the history
  • Loading branch information
timothylevi committed Mar 5, 2014
2 parents 32a4ebb + 2974155 commit e8d21de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -39,9 +39,14 @@ Congress.key = YOUR_SUNLIGHT_API_KEY

###### Fetch current legislators' names, IDs, biography, and social media
```ruby
# default is 20 per page
Congress.legislators

# per-page option can be passed in
Congress.legislators(per_page: "all")
```


###### Fetch representatives and senators for a latitude/longitude or zip code
```ruby
Congress.legislators_locate(37.775, -122.418)
Expand Down

0 comments on commit e8d21de

Please sign in to comment.