You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "trends.py", line 192, in <module>
t = Trends()
File "trends.py", line 23, in __init__
self.service = build('trends', self.api_version, developerKey=self.key,
File "C:\ProgramData\Anaconda3\envs\trends-code\lib\site-packages\googleapiclient\_helpers.py", line 134, in positional_wrapper
return wrapped(*args, **kwargs)
File "C:\ProgramData\Anaconda3\envs\trends-code\lib\site-packages\googleapiclient\discovery.py", line 273, in build
content = _retrieve_discovery_doc(
File "C:\ProgramData\Anaconda3\envs\trends-code\lib\site-packages\googleapiclient\discovery.py", line 387, in _retrieve_discovery_doc
raise UnknownApiNameOrVersion("name: %s version: %s" % (serviceName, version))
googleapiclient.errors.UnknownApiNameOrVersion: name: trends version: v1beta
Notes
I notice that trends with version 'v1beta' is not listed on the supported APIs here However, it still works with the older version of the package (1.12.8) and 'v1beta' was the version initially recommended to me by a Google employee.
The text was updated successfully, but these errors were encountered:
Environment details
google-api-python-client
version: 2.0.2Steps to reproduce
google-api-python-client
. The error occurs with version 2.0.2.Code example
Stack trace
Notes
The text was updated successfully, but these errors were encountered: