Every day, dozens of developer tools get released online. Some new developers opt for doing all their work manually, while others choose to explore new tools. If you fall into the second category, then you need to start using APIs. The acronym stands for
Application Programming Interface. In essence, it’s a programing language that lets one service – let’s say Google Maps for instance – communicate with another – for example, AccuWeather.
Google Page Insights is a required tool to have when analyzing the speed and usability of your site. As you may know these metrics influence how google ranks your page in search results. If you frequently make changes to your web site designs than it becomes mandatory to check the metrics after each change to make sure that the design changes has not affected the score in any negative way. If you have many pages to test than manual testing can quickly become cumbersome.
Thankfully there are libraries that you can use to automate this process. Once such is given in this post which allows you to get Google Page Insight metrics using PHP.
In a previous post we had seen on how to access the Amazon Product Advertising API. In this post we will see how to add a function to get the ‘Top Sellers’ list for a particular category.
As mentioned in this post, Amazon uses a hierarchy of nodes to organize its various items. Each node represents a collection of items. Browse node IDs are positive integers that uniquely identify product collections. You can get a top seller list for a particular category or sub-category by passing a browsenode id for that particular category.