dsdanielpark / Bard-API

The unofficial python package that returns response of Google Bard through cookie value.

Home Page:https://pypi.org/project/bardapi/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some code errors in README examples , os module import

rudransh61 opened this issue · comments

While working on some project , I found your tool and it is great thanks

Also while going through multiple examples in README
I found that there was unnecessarily os module was imported in many examples
And in some examples like Reusable session object part the os module was used but not imported
and throwing some errors .

Pls correct them as fast as possible
or is there is any other thing im missing

Thanks to all contributors and readers ...

Thank you for informing me. I appreciate it.

I am currently in the process of reviewing everything again, and I have identified unnecessary parts and areas that have not been optimized. In fact, I didn't expect this package to be so well-received, but I am currently reviewing and making revisions overall. Unless Google's internal interface changes, I will strive to provide a more optimized package as open source.

Thanks to your issue, it seems that thousands or even tens of thousands of people will not have to read unnecessary lines.

Sure, Why not?

Furthermore, if you come across any minor errors or contributions, please do not hesitate to submit a pull request at any time. Pull requests from those who have already contributed are highly likely to be merged quickly.

Before you make PR, I fixed somewhat. So any PR is fine. I will merge it even if you make empty PR. (or any other suggestion is fine)

[NOTICE] Please, go to Gemini-API https://github.com/dsdanielpark/Gemini-API

Gemini Icon Google - Gemini API

A unofficial Python wrapper, python-gemini-api, operates through reverse-engineering, utilizing cookie values to interact with Google Gemini for users struggling with frequent authentication problems or unable to authenticate via Google Authentication.

Collaborated competently with Antonio Cheong.

What is Gemini?

[Paper] [Official Website] [Official API] [API Documents]

Gemini is a family of generative AI models developed by Google DeepMind that is designed for multimodal use cases. The Gemini API gives you access to the Gemini Pro and Gemini Pro Vision models. In February 2024, Google's Bard service was changed to Gemini.


Installation

pip install python-gemini-api
pip install git+https://github.com/dsdanielpark/Gemini-API.git

For the updated version, use as follows:

pip install -q -U python-gemini-api