simple Google Trends API
Project description
google_trends
Simple Google Trends API
Usage:
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(date=YYYYMMDD)
#trends on a given date, interval: today - 30 days ago.
Example
realtime trends
r = gtrends()
print(r)
trends on date
date = 20210502
r = gtrends(date)
print(r)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for google_trends-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 021f72523c4c780ec327754c9a22e44973203654afe38cdbb3f166ce733f87fb |
|
MD5 | a19913a55e21043cc786d22cbc2c6ccf |
|
BLAKE2b-256 | 00af0974a03931ba2f1408279917e8196f869d593d7a37224c041fe165658fa6 |