Skip to content

Instantly share code, notes, and snippets.

@joeybrown
Created October 28, 2014 13:51
Show Gist options
  • Save joeybrown/7a21cd29e7414309fccf to your computer and use it in GitHub Desktop.
Save joeybrown/7a21cd29e7414309fccf to your computer and use it in GitHub Desktop.
sslv3 failure
congress_payload = {'latitude': latitude, 'longitude': longitude, 'apikey': settings.SUNLIGHT_API_KEY}
congress_response = requests.get(
'https://congress.api.sunlightfoundation.com/legislators/locate',
params=congress_payload
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment