How to get more posts?

Issue #24 on hold
Tombone created an issue

Hey,

if I look for, say, the most popular posts

connection = OJOC.Connection.Connection(citycc='Berlin, DE')
pop = connection.popular_posts()
print len(pop['posts'])

then I find that I only get 30 posts (for popular and discussed but only 10 posts for recent)... on my mobile device it is way more...

Is there a way to get more popular/recent/discussed posts?

Thanks!

Comments (3)

  1. Simon Feistel

    I think this has something to do with the 'after' parameter. In my case i can pass a postID with 'after' and get the next posts after that post. Like some kind of paging.

  2. Christian Fibich repo owner

    Yup, the posts methods should support the after parameter.

    Maybe I'll implement it someday or someone contributes a merge request

  3. Log in to comment