AppSales-Mobile
AppSales-Mobile copied to clipboard
Continue code migration to Reporter API
Commits c601d561bc1a01014b4f742ffc6d08c624da08ac, f67434291c62987eb3b05db7deb25ba1278fca28, and 730937033797c50fe01276b74c0855648b105c3f replaced the Autoingestion API with the Reporter API for the “Sales and Trends” reports (which fixed Issue #18).
I’ve replaced just the necessary code to get it working properly for now, but part of the app needs an overhaul to take advantage of all of the features the Reporter API provides. For example, the code could be improved by fetching the Vendor IDs from the Sales.getVendors
command prior to using the Sales.getReport
command. With this in place, we could in theory get rid of the need to input a Vendor ID during account setup.
I haven’t yet looked into using the Reporter API to download the “Payments and Financial” reports, but it still works, albeit using the undocumented iTunes Connect JSON API.
For reference, the Reporter API is documented here, in case anyone wants to take a look at it.
Something's still not right. It downloads the reports fine but the data is not showing up in the charts after that.
@pupasani This comment is better suited for Issue #18.