pytrends
pytrends copied to clipboard
How to fetch data for a keyword as a Company rather than a Keyword?
In the Google Trends auto-suggest, it offers to fetch the data for a keyword as a "keyword", "company", "topic", etc...
Is this possible with this API too? How to do that?
Yes, it is possible. You can use the website to get the topic's ID. Simply
search for your topic and choose the appropriate item. You should see something like
%2Fg%2F11c0vm752r
in the URL which you must translate to keywords = ["/g/11c0vm752r"]
. See #423 for an example.