Y's API for Google Trends.
yagt improves the pyGTrends tool written by Sal Uryasev (http://www.juiceanalytics.com/openjuice/programmatic-google-trends-api/). The authentication and connection of remains similar. In addition to provide a more Pythonic way to manipulate the downloaded data, yagt also give you a simple command line interface (CLI) to grab data from Google Trends and save to a csv file.
After install the module, you can access the simple CLI by using:
$ python -m yagt <query1> <query2> [-u username] [other options]
The output will be saved to result.csv by default. For more information about the options, please use python -m yagt -h for the help page. See LICENSE.txt for license agreement.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.