Bard-API 0.1.18
- Due to changes in the Google interface, a bug has been fixed in the temporary release of version 0.1.18.
- We are preparing for the release of version 0.1.19, which will include checks for the remaining features.
- Additionally, starting from version
0.1.18
, theGitHub version of BardAPI
will be synchronized with thePyPI version
and released simultaneously.
Notice: the internal API interface of Google has changed. #78
TypeError: 'NoneType' object is not subscriptable
File "C:\Users\Hemanth\AppData\Local\Programs\Python\Python311\Lib\site-packages\bardapi\core.py", line 119, in get_answer
"content": parsed_answer[0][0]
Solution
Using version over 0.1.18
pip install bardapi>=0.1.18
Due to changes in the Google interface, a bug has been fixed in the temporary release of version 0.1.18. We are preparing for the release of version 0.1.19, which will include checks for the remaining features. Additionally, starting from version 0.1.18, the GitHub version of BardAPI will be synchronized with the PyPI version and released simultaneously.