The Google Trends API offers a layer for Google Trends data. It can be used to retrieve keyword popularity data by location, and date. This API makes use of several methods such as returning the current top 20 trending topics for a desired location (hotTrends), returning the top 30 searches of the last month (top30in30), or returning data by category (categoryTopCharts).
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.