pushshift / api

Pushshift API
1.29k stars 107 forks source link

view_count on submission search always returns null #13

Closed marcelogdeandrade closed 6 years ago

marcelogdeandrade commented 6 years ago

I don't know if this behaviour is expected, but when I'm doing a submission search, the view_count always returns null.

query tested:

https://api.pushshift.io/reddit/search/submission?%22&size=10&subreddit=jokes

pushshift commented 6 years ago

view_count is a parameter that is visible for the moderator of a subreddit only. If Reddit decides to keep it hidden from regular users, I should just remove it from the mapping file completely and throw it out. For the next API version release, I will most likely toss it unless Reddit makes that value globally available.

Thanks!