Groups
Groups
Sign in
Groups
Groups
Guzzle - PHP HTTP client and REST client framework
Conversations
About
Send feedback
Help
Interator Example?!?!
111 views
Skip to first unread message
digicution
unread,
May 10, 2012, 9:52:24 AM
5/10/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to guz...@googlegroups.com
Hi Everyone,
I was curious if someone had an iterator example using guzzle php? I keep seeing references to an example in the guides but I cannot seem to find it.
I have a web service I'm trying to consume that does pagination.
GETTING /customers.xml returns the first thirty results, I have to add /customers.xml?page=PAGENUM to get the remaining pages of data.
I would appreciate any pointers to an example so I can figure out how to write my own iterator class.
Thanks!
Michael
unread,
May 10, 2012, 12:49:43 PM
5/10/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to guz...@googlegroups.com
You can find the resource iterator documentation and examples here:
http://guzzlephp.org/guide/service/resource_iterators.html
-Michael
Reply all
Reply to author
Forward
0 new messages