Interator Example?!?!

111 views
Skip to first unread message

digicution

unread,
May 10, 2012, 9:52:24 AM5/10/12
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 PM5/10/12
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