I'm new on a client project where the old offshore developer was fired by the client in a fit of anger and all I have is spaghetti code. Somehow the last developer was using developer APIs to get Amazon and eBay top-level product categories, but the developer stored them as static files (not even a timelimit cache file), and then eliminated his code that he used to get the category feeds in the first place.
What is the preferred, Developer API way with PHP to get the top-level categories for Amazon and eBay? Sure, I could just hit the homepage and scrape a listbox or something, but that's subject to change and not the developer API way.
Note that I'm an experienced PHP dev now for 7 years, but brand new to the whole developer API stuff with Amazon and eBay.
Thank you in advance.