https://github.com/erdogant/googletrends
Google trends is to examine trending google searches on geographical location and across time for input keywords.
https://github.com/erdogant/googletrends
googletrends plot trending
Last synced: 6 months ago
JSON representation
Google trends is to examine trending google searches on geographical location and across time for input keywords.
- Host: GitHub
- URL: https://github.com/erdogant/googletrends
- Owner: erdogant
- License: other
- Created: 2020-03-22T23:58:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-02T15:02:42.000Z (almost 2 years ago)
- Last Synced: 2025-04-12T06:08:59.240Z (6 months ago)
- Topics: googletrends, plot, trending
- Language: Python
- Homepage: https://erdogant.github.io/googletrends
- Size: 7.79 MB
- Stars: 40
- Watchers: 1
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Citation: CITATION.cff
Awesome Lists containing this project
README
# googletrends
[](https://img.shields.io/pypi/pyversions/googletrends)
[](https://pypi.org/project/googletrends/)
[](https://github.com/erdogant/googletrends/blob/master/LICENSE)
[](https://github.com/erdogant/googletrends/network)
[](https://github.com/erdogant/googletrends/issues)
[](http://www.repostatus.org/#active)
[](https://pepy.tech/project/googletrends/month)
[](https://pepy.tech/project/googletrends)
[](https://www.buymeacoffee.com/erdogant)
[](https://erdogant.github.io/googletrends/)``googletrends`` is Python package to examine trending, spatio and temporal google searching for input queries.
Data is al arround us. Some data is easy to get, others are not. Especially when it comes to what people are "thinking" related to an issue/brand/company can be though. However, the "thinking" process can supported by googling about the subject. So if we know what people are searching for, it can give insights in the "common" thoughts. To make it a bit less creepy, lets not do this on an individual basis. I developed the python package googletrends that allows to easily examine the search results per country/region and/or per time-frame and with(out) a specific keyword.
To demonstrate this, lets examine the google searches for the keywords "Corona" and "Virus", "covid-19" in the Netherlands, Italy, Belgium and Germany starting from December 2019 up to today. If you want to examine other keywords/countries/time frames, simply pip install the library.
![]()
#
**⭐️ Star this repo if you like it ⭐️**
##### Install googletrends from PyPI
```bash
pip install googletrends
```#### Import googletrends package
```python
import googletrends
```
#### [Documentation pages](https://erdogant.github.io/googletrends/)
On the [documentation pages](https://erdogant.github.io/googletrends/) you can find detailed information about the working of the ``googletrends`` with many examples.
### Examples
#
* [Example: Get country names and abbrevations](https://erdogant.github.io/googletrends/pages/html/Examples.html#)
#
* [Example: Examine google searches over time ](https://erdogant.github.io/googletrends/pages/html/Examples.html#analyze-timewise)
#
* [Example: Examine google searches over time groupby](https://erdogant.github.io/googletrends/pages/html/Examples.html#analyze-timewise)
#
* [Example: Examine google searches over geographical locations.](https://erdogant.github.io/googletrends/pages/html/Examples.html#analyze-geographical)
#
* [Example: Examine trending searches](https://erdogant.github.io/googletrends/pages/html/Examples.html#analyze-trends)
### References
* http://www.w3.org/Consortium/Legal/copyright-software### Maintainers
* Erdogan Taskesen, github: [erdogant](https://github.com/erdogant)### Contribute
* All kinds of contributions are welcome!
* If you wish to buy me a Coffee for this work, it is very appreciated :)