Last active
June 14, 2017 07:47
-
-
Save ridvanbaluyos/57e92f1c05b673a1fd1f907602062fc6 to your computer and use it in GitHub Desktop.
Kong Implementation for the MMDA API.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See https://getkong.org | |
# Actual API Endpoint: http://rx-78-2.gundamserver.com/mmda-api/v1/traffic | |
# All Traffic Data | |
curl "http://ec2-52-77-210-176.ap-southeast-1.compute.amazonaws.com:8000/ | |
-H "Host: rx-78-2.gundamserver.com" \ | |
-H "apikey: ec5429707a7ac51cf0e66bbbd45ea88f" | |
# Traffic with Highway (eg. Ortigas Avenue) | |
curl "http://ec2-52-77-210-176.ap-southeast-1.compute.amazonaws.com:8000/ORTIGAS" \ | |
-H "Host: rx-78-2.gundamserver.com" \ | |
-H "apikey: ec5429707a7ac51cf0e66bbbd45ea88f" | |
# Traffic with Highway and Segment (eg. Ortigas Avenue, Meralco Avenue) | |
curl "http://ec2-52-77-210-176.ap-southeast-1.compute.amazonaws.com:8000/ORTIGAS/MERALCO_AVE" \ | |
-H "Host: rx-78-2.gundamserver.com" \ | |
-H "apikey: ec5429707a7ac51cf0e66bbbd45ea88f" | |
# Traffic with Highway, Segment, and Direction (eg. Ortigas Avenue, Meralco Avenue, North Bound) | |
curl "http://ec2-52-77-210-176.ap-southeast-1.compute.amazonaws.com:8000/ORTIGAS/MERALCO_AVE/NB" \ | |
-H "Host: rx-78-2.gundamserver.com" \ | |
-H "apikey: ec5429707a7ac51cf0e66bbbd45ea88f" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment