simple Google Trends API
Project description
google_trends
Simple Google Trends API
Install
pip install -U google_trends
Usage:
from google_trends import gtrends
gtrends(date=None, country='US', language='en-US', timezone='-180')
'''
date = date of interest, allowable interval: today - 30 days ago;
country = two letter country abbreviation;
timezone = timezone Offset, GMT-7 == -7*60 = '-420',
GMT-8 == -8*60 = '-480';
language = language.
'''
gtrends()
#realtime trends
gtrends(YYYYMMDD)
#trends on a given date, interval: today - 30 days ago.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
google_trends-0.4.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for google_trends-0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92e609e6cdffd9e5fae0ec5d728bf55ffa360143d20f42a3d36ef69dab00a36b |
|
MD5 | 060d2c7122613075bdab16bfc2396c2d |
|
BLAKE2b-256 | 251d5430b0b0099f16618d63bcbef9397a4eba2cb37efd171b9cc959ef873a69 |