API query with specified values only

Is it possible to remove unnecessary information in API query? For example I want to make a query like this:

https://api.twitch.tv/kraken/users/USERNAME/follows/channels?follows=channel&client_id=CLIENT_ID

But it still returns full JSON and in the result i want to get a JSON with only channel value. I don’t want to get other values like “_links” or “notifications”.

Every API contains the _total and _links values. You will have to parse the JSON according to your matters.

If you need any further assistance leave a post with what language and what you are trying to ultimately accomplish. Someone might just lend a hand.

To answer the question broadly, no. You can’t just request a subset of data to return. We return the data as documented (and sometimes a few undocumented fields).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.