Create getBuildings.py (#9)
Create getBuildings.py (#9)

* Create getBuildings.py

Lambda function for /buildings API call. Returns all the buildings if no friendlyName specified or one if a friendlyName is specified or an error message ('Building not found') if friendlyName specified but not in any name lists.

* Update getBuildings.py

Made requested changes. Dynamo resource changed to global variables. You were right, it reduced latency on my end too. Re-ordered friendlyName loop.

jcolekaplan/WNCYC