PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Sameer Borate's Blog: Amazon Advertising API BrowseNodes

Note: This article was originally published at PHPDeveloper on 20 April 3776.
PHPDeveloper

In this new post, Sameer Borate shows you how to use his Amazon BrowseNodes script to work with the returned data from the Amazon Advertising API.

The BrowseNodes tool automatically gets all the child BrowseNodes and their names. The program recursively traverses the BrowserNode hierarchy and returns all the BrowseNodes and their respective names. You can display the nodes on the console or save it to a CSV file. You can also include the library in your existing projects to process BrowseNodes.

You'll need curl support on your system to make it work. Several code examples are included showing how to grab a certain node, showing a list of nodes, saving the node information to a CSV, changing locales and getting the parent node for the current node.