bard_api 1.0.0 copy "bard_api: ^1.0.0" to clipboard
bard_api: ^1.0.0 copied to clipboard

Reverse engineering of Google's Bard chatbot API.

Bard #

Reverse engineering of Google's Bard chatbot API for dart inspired from Bard.

Installation

dart pub install bard_api
# or
flutter pub install bard_api

Authentication #

  1. Go to Bard Site
  2. Open the devtools.
  3. Copy the cookie value of __Secure-1PSID.

Usage #

import 'package:bard_api/bard_api.dart';

void main() async {
  final bard = ChatBot(sessionId: "...");
  final result = await bard.ask("Hello?");
  print(result);
}
10
likes
130
pub points
33%
popularity

Publisher

unverified uploader

Reverse engineering of Google's Bard chatbot API.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on bard_api