Post

3 followers Follow
3
Avatar

Multi-curl API calls

Hi,

I would like to be able to multi-curl API calls. Since the ::filter call seems to not return associated item files, I need to traverse a result list and call each item again individually to be able to pull the files. This causes a problem with resource limits. If I could make a single curl request and pass an array of item requests, it would save, time, bandwidth and calls. Being able to multi-curl requests would be a great feature in other ways as well.

Thanks,

Ben

Ben Hoffman

Please sign in to leave a comment.

3 comments

0
Avatar

This is really a 2 part question....

  1. In general, how can I multi-curl API calls?

  2. Why does PodioItem::filter retrieve all item info Except for  the files and is there a way to request them with the response so I don't have to make individual calls for each item id?

Thanks,

Ben

Ben Hoffman 0 votes
Comment actions Permalink
0
Avatar

Hi Andreas, I understand. Maybe this is something that can be considered in a future release...
Thanks,
Ben

Ben Hoffman 0 votes
Comment actions Permalink