API data inclusion

61 views
Skip to first unread message

Ionascu Mihai

unread,
Mar 31, 2021, 4:15:59 PM3/31/21
to MBTA Developers
Hello guys,

Im trying to call this API and keep only "attributes".  Is there any way to do this?
API: 

Developer at MBTA

unread,
Apr 6, 2021, 2:49:18 PM4/6/21
to MBTA Developers
Hi,

The general format of the API responses cannot be changed, if that's what you're asking; the API conforms to the JSON:API spec, which requires a certain format. We do recommend using a JSON:API library if possible, since this can make it easier to access the data in an idiomatic way for your language. If not, you will need to parse the responses using your language's JSON tools/libraries.

—Developer@MBTA
Reply all
Reply to author
Forward
0 new messages