Skip to content

Commit

Permalink
Add route for legislators method
Browse files Browse the repository at this point in the history
Toward #5.
  • Loading branch information
waldoj committed Jan 2, 2018
1 parent 04fd422 commit 4ec2c56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htdocs/1.1/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ RewriteRule ^section-video/(.*).json$ code-section-video.php?section=$1 [QSA]
RewriteRule ^photosynthesis/([a-z0-9]{5}).json$ photosynthesis.php?hash=$1 [QSA]
RewriteRule ^bills/([0-9]{4}).json$ bills.php?year=$1 [QSA]
RewriteRule ^bill/([0-9]{4})/([A-Za-z0-9]+).json$ bill.php?year=$1&bill=$2 [QSA]
RewriteRule ^legislators.json$ legislators.php [QSA]
RewriteRule ^legislator/([a-z]+).json$ legislator.php?shortname=$1 [QSA]

# By default, API data expires in just one hour.
Expand Down

0 comments on commit 4ec2c56

Please sign in to comment.