Help pulling Auction House data consistently

90 Human Mage

I'm new to web development using the WoW API listed here:

I'm creating a site that analyses Auction house data, so I set up a script that pulls the data from each realm one by one. The script goes as follows:

1) Pulls data from JSON file listed, for example, here:
2) Parses the data into a php associative array
3) Parses the data into a MySQL table (one per realm)

This seems to work fine most of the time; however, sometimes the script will return 0 auction house items from a realm. I've been scratching my head for the past few hours trying to figure out why that is, but I can't seem to figure it out!

Is there a limit to how often the JSON files can be accessed? I have a CRON job that runs the script once per minute, updating only one realm at a time.

Thanks for your help.
Edited by Getodachoppa on 4/6/2013 4:07 PM PDT
Reply Quote
100 Night Elf Hunter
some realms do poll a 0 return this happenes some times most of the time after 5 min the data is there because the cache file was being writen
Reply Quote
90 Human Mage
I think you're right - I was able to pull the data. Thanks!
Reply Quote

Please report any Code of Conduct violations, including:

Threats of violence. We take these seriously and will alert the proper authorities.

Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.

Harassing or discriminatory language. This will not be tolerated.

Forums Code of Conduct

Report Post # written by

Explain (256 characters max)