Skip to content

Commit

Permalink
Update google_trends.py
Browse files Browse the repository at this point in the history
  • Loading branch information
deedy5 committed Aug 11, 2021
1 parent 0a26349 commit f9f3d1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions google_trends.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,11 @@ def daily_trends(date=None, country='US', language='en-US', timezone='-180'):
def realtime_trends(country='US', category='all', language='en-US', num_results=20, timezone='-180'):
''' Google daily search trends
date = YYYYMMDD (example: 20210810) - trends on a given date,
interval: today - 30 days ago;
country = 'US', 'RU', etc.;
category = 'all' (all), 'b' (business), 'e' (entertainment),
'm' (health), 's' (sports), 't' (sci/tech), 'h' (top stories);
language = 'en-US', 'ru-RU', etc.;
num_results = how many results to return, max num_results = 200;
timezone = timezone offset, example: GMT-7 == -7*60 = '-420'.
'''

Expand Down

0 comments on commit f9f3d1d

Please sign in to comment.