From ee3a379b3e78e5c88c29e26f855062f7d58e3d56 Mon Sep 17 00:00:00 2001 From: "MinWoo(Daniel) Park" Date: Mon, 26 Feb 2024 20:46:25 +0900 Subject: [PATCH 1/8] doc: update sidcc --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3116ffe80..ad962ae94 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ $ pip install bardapi==0.1.23a > **Warning** Do not expose the `__Secure-1PSID`. For testing purposes only; avoid direct application use. Cookie values change periodically (every 15-20 minutes). Frequent session changes may briefly block access; headless mode is challenging. Rate limiting applies and changes often. If the cookie changes, log out of your Google account, close the browser, and enter the new cookie value. Or manually reset the cookie for a new value. See FAQ and issue pages for details. 1. Visit https://gemini.google.com/ 2. F12 for console -3. Session: Application → Cookies → Copy the value of `__Secure-1PSID` cookie. +3. Session: Application → Cookies → Copy the value of `__Secure-1PSID` cookie. Or try to use `SIDCC` as token. Note that while I referred to `__Secure-1PSID` value as an API key for convenience, it is not an officially provided API key. Cookie value subject to frequent changes. Verify the value again if an error occurs. Most errors occur when an invalid cookie value is entered. From 1adf95ffbab590f1c9d9a7c9161170defa7f69a5 Mon Sep 17 00:00:00 2001 From: "MinWoo(Daniel) Park" Date: Mon, 26 Feb 2024 22:09:39 +0900 Subject: [PATCH 2/8] doc: update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ad962ae94..c893848f2 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ $ pip install bardapi==0.1.23a 2. F12 for console 3. Session: Application → Cookies → Copy the value of `__Secure-1PSID` cookie. Or try to use `SIDCC` as token. -Note that while I referred to `__Secure-1PSID` value as an API key for convenience, it is not an officially provided API key. +Note that while I referred to `__Secure-1PSID` or `SIDCC` value as an API key for convenience, it is not an officially provided API key. Cookie value subject to frequent changes. Verify the value again if an error occurs. Most errors occur when an invalid cookie value is entered.
From 7ab13caf3e6f91a7bde38de12aebf1f396400337 Mon Sep 17 00:00:00 2001 From: "MinWoo(Daniel) Park" Date: Thu, 29 Feb 2024 14:47:05 +0900 Subject: [PATCH 3/8] doc: temp badge caused by pepy error --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c893848f2..1493d8e34 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,9 @@ Development Status :: 7 - Inactive -*** -### `Notice` Transition to Gemini Icon [Gemini API](https://github.com/dsdanielpark/Gemini-API) +### Transition to Gemini Icon [Gemini API](https://github.com/dsdanielpark/Gemini-API) In February 2024, Bard has changed its service name to Gemini. - For some countries/regions where the `__Secure-1PSID` cookie value ends with a single dot: [Bard API](https://github.com/dsdanielpark/Bard-API) >= 0.1.40 @@ -16,7 +15,6 @@ In February 2024, Bard has changed its service name to Gemini. Moving forward, updates will primarily focus on the Gemini API package. -***
@@ -24,7 +22,8 @@ Moving forward, updates will primarily focus on the Gemini API package.

PyPI package -Downloads + +Code style: black Code style: black From 6300b57c4183a38f0634268c3eebf8902f42fb19 Mon Sep 17 00:00:00 2001 From: "MinWoo(Daniel) Park" Date: Thu, 29 Feb 2024 14:48:59 +0900 Subject: [PATCH 4/8] doc: update readme doc --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1493d8e34..85e7434f3 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,11 @@ Development Status :: 7 - Inactive ### Transition to Gemini Icon [Gemini API](https://github.com/dsdanielpark/Gemini-API) -In February 2024, Bard has changed its service name to Gemini. +In February 2024, Bard has changed its service name to Gemini. - For some countries/regions where the `__Secure-1PSID` cookie value ends with a single dot: [Bard API](https://github.com/dsdanielpark/Bard-API) >= 0.1.40 - For all other countries/regions: Starting from March 1st, 2024, please go to the [Gemini API](https://github.com/dsdanielpark/Gemini-API) package. -Moving forward, updates will primarily focus on the Gemini API package. +Moving forward, updates will primarily focus on the Gemini API package. Alternatively, utilize the official Gemini API at [Google AI Studio](https://ai.google.dev/tutorials/ai-studio_quickstart).
@@ -34,7 +34,7 @@ Moving forward, updates will primarily focus on the Gemini API package.

-> The python package that returns response of [Google ~~Bard~~ Gemini](https://gemini.google.com/) through value of cookie. +> The python package that returns response of [Google Bard](https://gemini.google.com/) through value of cookie. ![](./assets/bard_api.gif) From 92ed4ae498b595ada1ab349d3fdf92b0b14b5082 Mon Sep 17 00:00:00 2001 From: "MinWoo(Daniel) Park" Date: Thu, 29 Feb 2024 16:26:32 +0900 Subject: [PATCH 5/8] doc: update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 85e7434f3..27a0aaf01 100644 --- a/README.md +++ b/README.md @@ -482,7 +482,7 @@ I would like to express my sincere gratitude to all the contributors. ## License [MIT](https://opensource.org/license/mit/)
-We hold no legal responsibility; for more information, please refer to the bottom of the readme file. We just want you to give me and [them](https://github.com/acheong08/Bard) a star. +We hold no legal responsibility; for more information, please refer to the bottom of the readme file. We just want you to give me and [them](https://github.com/acheong08/Bard) a star. This project is a personal initiative and is not affiliated with or endorsed by Google. It is recommended to use Google's official API. ``` The MIT License (MIT) From 08360c78c20fc2979d6a25473d85c3278f0eff80 Mon Sep 17 00:00:00 2001 From: "MinWoo(Daniel) Park" Date: Thu, 29 Feb 2024 18:31:33 +0900 Subject: [PATCH 6/8] doc: update core maintainer --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 27a0aaf01..114b48ed6 100644 --- a/README.md +++ b/README.md @@ -514,8 +514,9 @@ Bard's service status and Google's API interfaces are in constant flux. *The num Sincerely grateful for any reports on new features or bugs. Your valuable feedback on the code is highly appreciated. ## Contacts -- Core maintainer: [Daniel Park, South Korea](https://github.com/DSDanielPark)
-- E-mail: parkminwoo1991@gmail.com
+- Core maintainer: + - [Daniel Park, parkminwoo1991@gmail.com](https://github.com/DSDanielPark)
+ - [Antonio Cheong, teapotv8@proton.me](https://github.com/acheong08) ## Reference [1] https://github.com/acheong08/Bard
From 367144315ce22d5a86e9eb49355d4c28b02afe0f Mon Sep 17 00:00:00 2001 From: "MinWoo(Daniel) Park" Date: Thu, 29 Feb 2024 18:42:11 +0900 Subject: [PATCH 7/8] doc: update readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 114b48ed6..4e6ca900d 100644 --- a/README.md +++ b/README.md @@ -514,9 +514,9 @@ Bard's service status and Google's API interfaces are in constant flux. *The num Sincerely grateful for any reports on new features or bugs. Your valuable feedback on the code is highly appreciated. ## Contacts -- Core maintainer: - - [Daniel Park, parkminwoo1991@gmail.com](https://github.com/DSDanielPark)
- - [Antonio Cheong, teapotv8@proton.me](https://github.com/acheong08) +- Core maintainer: + - [Antonio Cheong](https://github.com/acheong08) / teapotv8@proton.me
+ - [Daniel Park](https://github.com/DSDanielPark) / parkminwoo1991@gmail.com ## Reference [1] https://github.com/acheong08/Bard
From 3f1c38b0eaad891d8a0cc55f77708bb460e8e93a Mon Sep 17 00:00:00 2001 From: "MinWoo(Daniel) Park" Date: Thu, 29 Feb 2024 18:49:53 +0900 Subject: [PATCH 8/8] chore: typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4e6ca900d..0de5f585a 100644 --- a/README.md +++ b/README.md @@ -471,7 +471,7 @@ Please check the FAQ and open issues for similar questions before creating a new In the scripts [folder](./scripts/), I have released a script to help you compare [OpenAI-ChatGPT](./scripts/openai_api.ipynb), [Microsoft-EdgeGPT](./scripts/microsoft_api.ipynb) and [Google-Bard](./scripts/google_api.ipynb). I hope they will help more developers. ## Contributors -I would like to express my sincere gratitude to all the contributors. +We would like to express our sincere gratitude to all the contributors.