From 2c8a4664a4b6be742c4d1181d53e4adcc931f32b Mon Sep 17 00:00:00 2001 From: iosullivan Date: Sun, 12 Jul 2026 17:36:53 +1000 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cffd692..7784269 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ The CTA API can be fairly trivially queries to get a JSON response with the requ To query XML: https://lapi.transitchicago.com/api/1.0/ttarrivals.aspx?key=&mapid= To query JSON: https://lapi.transitchicago.com/api/1.0/ttarrivals.aspx?key=&mapid=40380&outputType=JSON - Simple HTTP POST queries use the '?' to define start of parameters, and each parameter is seperated by an '&' + Simple HTTP queries use the '?' to define start of parameters, and each parameter is seperated by an '&' In the above, we are querying the 'ttarrivals' endpoint, used for the Arrivals API KEYID is your API key MAPID is the ID of a station on the CTA, such as "40380". These station numbers are available on the ttdocs website.