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 details)
Built Distribution
File details
Details for the file googlebardpy-0.1.0.tar.gz
.
File metadata
- Download URL: googlebardpy-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.11 Linux/6.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 002fdfd9d7eb7a526d4478d56873b3c6e713de9c58252a5fc49eec2d328d677e |
|
MD5 | f441531942c55f8a4c7a5a840a9bcbf6 |
|
BLAKE2b-256 | 59da91e8c645f44cf98b03d10d40cd5203dd59134341cca6ae37f92aedf0e2e4 |
File details
Details for the file googlebardpy-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: googlebardpy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.11 Linux/6.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12e65fdfe99392cbb5e8f93572340b757cd9d7aa83391316eaea3a1527995ef2 |
|
MD5 | 9cd48e9c5238f0c4012e190c6e041859 |
|
BLAKE2b-256 | a84030a6440d5ceec49fc268710705b89e654fc854d9b8754850228deaf64892 |