开发者

Setting Number of Fetch Using ASIHTTPRequest

开发者 https://www.devze.com 2023-04-05 00:23 出处:网络
I\'m using ASIHTTPRequest to fetch data from an Google Feed API. Right now it is only fetching 5 latest posts but can I chang开发者_运维知识库e this to a larger number?From the JSON Developer\'s Gui

I'm using ASIHTTPRequest to fetch data from an Google Feed API.

Right now it is only fetching 5 latest posts but can I chang开发者_运维知识库e this to a larger number?


From the JSON Developer's Guide for the Google Feed API:

You have to use the parameter num to specify the number of entries.

Example query:

https://ajax.googleapis.com/ajax/services/feed/load?q=http://feeds.feedburner.com/TechCrunch&v=1.0&num=100

That returns 100 entries.

0

精彩评论

暂无评论...
验证码 换一张
取 消