bard_api 1.0.0
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 #
- Go to Bard Site
- Open the devtools.
- 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);
}