Google Bard API in Python
Project description
Google Bard
Installation
Pypi
pip install googlebardpy
Codeberg
pip install --index-url https://codeberg.org/api/packages/Bavarder/pypi/simple/ googlebardpy
Usage
Get the token
- Go to bard.google.com
- Open developer tools
- Go to Application
- Go to Cookies
- Copy the content of
__Secure-1PSID
Use the chatbot
secure_1psid = "..."
chat = BardChat(secure_1psid)
chat.ask("Hello, who are you ?")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
googlebardpy-0.1.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for googlebardpy-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12e65fdfe99392cbb5e8f93572340b757cd9d7aa83391316eaea3a1527995ef2 |
|
MD5 | 9cd48e9c5238f0c4012e190c6e041859 |
|
BLAKE2b-256 | a84030a6440d5ceec49fc268710705b89e654fc854d9b8754850228deaf64892 |