get items by app id limit?

Answered

Comments

7 comments

  • Christian Holm

    You cannot get all items without limit, but you can get up to 500 at a time. Just set limit to 500.

    0
    Comment actions Permalink
  • James Trusler

    PHP API -

    Have you got a link to hand there for setting these options:

    Im using the following code and am unsure of where to set these configurations:

    http://pastebin.com/Ff4YX23y

    0
    Comment actions Permalink
  • Carl-Fredrik Herö

    I think this is how you do it James: http://pastebin.com/8zZxbTLz

    (At least it is on the newest Podio PHP Lib)

    0
    Comment actions Permalink
  • James Trusler

    Ah you beauty! Simple when you know how! Thanks Carl!

    0
    Comment actions Permalink
  • Carl-Fredrik Herö

    But I don't think you want to do all the 500 in one take (if there is a user waiting), in my experience 100 rows takes several seconds.

    0
    Comment actions Permalink
  • Christian Holm

    Item filtering is a pretty heavy operation, and the raw data transferred for 500 items is pretty significant. We page by 30 inside the product, which is about what works well for human display. For machine syncing 100 is fine.

    0
    Comment actions Permalink
  • James Trusler

    Excellent. Understood. Cheers for the information!

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk