diff --git a/README.md b/README.md index 3116ffe8..0de5f585 100644 --- a/README.md +++ b/README.md @@ -4,19 +4,17 @@ 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. +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). -***
@@ -24,7 +22,8 @@ Moving forward, updates will primarily focus on the Gemini API package.

PyPI package -Downloads + +Code style: black Code style: black @@ -35,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) @@ -92,9 +91,9 @@ $ 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. +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.
@@ -472,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. @@ -483,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) @@ -515,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: + - [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