The link in the comments did not work for me directly(it goes to home page vs the data), so I wanted to repost for others having this issue with pytrends. The question asker @vira-xeva provided the solution:
To find your target timezone, you want to use the minutes representation of the timezone, but WITHOUT the negative(see below). You can find your timezone here in this table:
https://forbrains.co.uk/international_tools/earth_timezones
Remember to drop the negative(no clue why, googles convention according to pytrends mentioned in docs). From the tz section of Connect to Google:
"For example US CST is '360' (note NOT -360, Google uses timezone this way...)"
https://pypi.org/project/pytrends/#api
Working Example:
from pytrends.request import TrendReq
# connect to google and get EST time zone
# If you see error like this, you are rate limted, wait a minute (see pytrends docs re proxies)
# HTTPSConnectionPool(host='trends.google.com', port=443): Read timed out. (read timeout=5)
pytrends = TrendReq(hl='en-US', tz=300)
kw_list = ['Thank You OP']
# Test via a 1 hour download of SPY keyword
result = pytrends.get_historical_interest(kw_list,
year_start=2018,
month_start=1,
day_start=1,
hour_start=0,
year_end=2018,
month_end=1,
day_end=1,
hour_end=0,
cat=0,
geo='',
gprop='',
sleep=0)
print(result)
# Resuls come as a Pandas DataFrame
'''
Thank You OP isPartial
date
2018-01-01 0 False
'''