Batch operation for consuming data from API via drupal_http_request I am consuming data from an API which provides a URL similar to:
http://data.something.com/api/records?pageIndex=0&amp;pageSize=25

The API will return XML which I will then use to create nodes.
There are many thousands of records, so I will need to do this via batch. I have used batch before but never for drupal_http_request. What would be the best approach for this? Is batch API the best solution, or would another method be preferable? 

Thanks
Hi You're probably best off using the feeds module to import from feeds it can do them as one off imports imports or periodic batch jobs and create nodes from the feeds automatically. Even though they're beta/alpha they're well used and actively developed.