Skip to main content

How to strip out certain fields from stackechange api jsonthe Stack Exchange API, JSON response?

I want to fetch all my favorite questions on stackoverflowStackoverflow.com and dump them as jsonJSON. I have used this apiAPI path:

http://api.stackexchange.com/2.1/users/1310070/favorites?fromdate=1382486400&site=stackoverflow

But it is returning me some fields which are not required like upvote_count, downvote_count and owner. Can I use api in such a way that it does not return me these fields ?

 
But it is returning some fields which are not required like `upvote_count`, `downvote_count`, and `owner`. Can I use the API in such a way that it does not return these fields?

Reason: ToThis is to make any api callmy API calls light which-- decrease the response size (Saves-- to save bandwidth (and time, and quota).

How to strip out certain fields from stackechange api json response

I want to fetch all my favorite questions on stackoverflow.com and dump as json. I have used this api:

http://api.stackexchange.com/2.1/users/1310070/favorites?fromdate=1382486400&site=stackoverflow

But it is returning me some fields which are not required like upvote_count, downvote_count and owner. Can I use api in such a way that it does not return me these fields ?

Reason: To make any api call light which decrease the response size (Saves bandwidth).

How to strip out certain fields from the Stack Exchange API, JSON response?

I want to fetch all my favorite questions on Stackoverflow.com and dump them as JSON. I used this API path:

/2.1/users/1310070/favorites?fromdate=1382486400&site=stackoverflow
 
But it is returning some fields which are not required like `upvote_count`, `downvote_count`, and `owner`. Can I use the API in such a way that it does not return these fields?

This is to make my API calls light -- decrease the response size -- to save bandwidth (and time, and quota).

Source Link
Sachin Jain
  • 903
  • 8
  • 17

How to strip out certain fields from stackechange api json response

I want to fetch all my favorite questions on stackoverflow.com and dump as json. I have used this api:

http://api.stackexchange.com/2.1/users/1310070/favorites?fromdate=1382486400&site=stackoverflow

But it is returning me some fields which are not required like upvote_count, downvote_count and owner. Can I use api in such a way that it does not return me these fields ?

Reason: To make any api call light which decrease the response size (Saves bandwidth).