Is there a Wattpad public API to retrieve the story 'Reads' and 'Votes' counts? -
i've looked @ wattpad api documentation @ http://developer.wattpad.com/docs/api there doesn't seem public api retrieve story's 'reads' , 'votes' counters.
currently i'm using simple bash script curl , awk retrieve counters, seems waste of resources because typical page size appears 60k , json response smaller.
there isn't direct api doing you're looking for, can data you're looking indirectly using story search api.
for example if hit following api (with auth key of course): https://api.wattpad.com:443/v4/stories?query=your%20story%20title&limit=1
you'll json payload. documentation little out of date fields receive, should see votecount , readcount properties part of response.
we're working on getting documentation updated, possibly providing more api capabilities. please stay tuned. also, please let know end doing api, we're curious people looking it.
Comments
Post a Comment