Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 676 Bytes

AWS Lambda function

The included lambda_function.py script is my first attempt at ever creating an AWS "Lambda function" along with an AWS "API Gateway". It simply returns JSON of the bike-share stations using the Indego class that I've written, allowing for searching the stations. For example, see the following requests:

https://indego.ericoc.com/api/?search=fairmount
https://indego.ericoc.com/api/?search=municipal
https://indego.ericoc.com/api/?search=3009      # Single kioskID
https://indego.ericoc.com/api/?search=19132     # Zip code
https://indego.ericoc.com/api/                  # All stations
You can’t perform that action at this time.