pytrends: gprop example

Syntax

pytrends.build_payload(kw_list, gprop="name")
# name: ['images', 'news', 'youtube', 'froogle']

gprop example

from pytrends.request import TrendReq

# Keywords
kw_list = ["python os", "python time"]

# pytrends
pytrends = TrendReq()

# build_payload
pytrends.build_payload(kw_list, gprop="youtube")

# Print
print(pytrends.interest_over_time())

Output:

            python os  python time isPartial
date                                        
2016-10-30         31            0     False
2016-11-06          0           60     False
2016-11-13         90           30     False
2016-11-20          0           59     False
2016-11-27          0            0     False
...               ...          ...       ...
2021-09-26          9           33     False
2021-10-03         12           35     False
2021-10-10          3           43     False
2021-10-17         14           54     False
2021-10-24          9           23      True

[261 rows x 3 columns]