heavy iTunes Connect scraping

后端 未结 4 1334
名媛妹妹
名媛妹妹 2021-02-08 19:19

I\'m looking at different options to get the sales reports and other data out of the iTunes Connect website. Since Apple doesn\'t provide an API, all the solutions I found are b

相关标签:
4条回答
  • 2021-02-08 19:43

    appdailysales is the best tool out there that I have found.

    I have modified it so that the script automatically puts the ITC data into a MySQL database instead of just saving the txt files. And as Kirby pointed out, I too only have it run once a day and everything appears to be working. Nothing has been blocked by Apple so far.

    As for the script breaking, the one good thing is that Apple keeps daily sales reports for 14 days (last I checked). This means that if the script breaks, one has several days to fix the script and still get the daily sales reports.

    Good luck.

    Kevin

    0 讨论(0)
  • 2021-02-08 19:44

    does someone have experience how frequent apple is changing the web front-end?

    I can't speak for all of iTunes Connect, only downloading daily sales reports. My script was rock solid and didn't require a single change between November 2009 and September 2010. This changed in September 2010 when Apple rolled out the new web site. This broke the old script, and a new one had to be written. Since rolling out the new web site, I make changes every few days to handle the tweaks from Apple. I'm hoping the tweaks will end soon.

    Take a look at the download page for appdailysales.py. The dates will give you a general idea of how often I make changes to the script.

    https://github.com/kirbyt/appdailysales

    Again, this is only for daily sales reports. I'm not sure how frequently others areas of iTC change.

    has someone experience in maximum request from one server to the site? I'm afraid of being baned by apple.

    I've not experienced this, but my server runs the script only once a day. I frequently hit the iTC when working on the script, but not enough to cause a load on Apple's servers.

    anything else I have to have in mind that will cause serious trouble?

    I don't know what might get you in trouble with Apple, but one thing that does cause a serious headache is changes to the web site. While the new version of the web site makes screen scraping the site easier, it did involve writing a new script. Apple does not give you a heads up that they are changing something. You find out after the fact when something in your screen scraper breaks.

    If you depend on the data daily, then you have to drop everything and make the necessary fixes. And there is nothing stopping Apple from rolling out another new site sometime in the future.

    Hope that helps.

    -KIRBY

    0 讨论(0)
  • 2021-02-08 19:51

    I'm using AppSalesMobile on iPhone. It get's updated pretty quickly. Another script I use is salestrends.sh that just downloads the reports in a folder for easy import into databases etc.

    If you're also interested in finding out, in which countries an app is featured, you can use my iTunesFeaturedCheck script.

    Also check out this question with more links.

    0 讨论(0)
  • 2021-02-08 20:06

    You might also try the Autoingestion tool from Apple. Documentation here.

    0 讨论(0)
提交回复
热议问题