Skip to content

Bavarder/googlebardpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Go to bard.google.com
  2. Open developer tools
  3. Go to Application
  4. Go to Cookies
  5. Copy the content of __Secure-1PSID

Use the chatbot

secure_1psid = "..."
chat = BardChat(secure_1psid)
chat.ask("Hello, who are you ?")