The Open New York Fare Card History for Metropolitan Transportation Authority API is an open service of the State of New York's data.ny.gov open data initiative. This API provides access to raw data collected from all MetroCard swipes made weekly by each subway customer entering any station of the New York City Subway system. The data is also collected from swipes used with PATH, AitrTrain JFK, and the Roosevelt Island Tram. This data is posted every Sunday by 1AM. The data has a corresponding date and day of the week and is sorted in biweekly units. The API can be accessed through HTTP communication, and available response types include JSON, XML, and CSV. The documentation features a live testing interface to run example requests. All requests must posses an app token in order to be authenticated.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.