GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - zainmz/Product-Price-Comparison-Bard-API: A simple price comparison application that uses the open-source Unofficial Google Bard API Python library.

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
main.py
main.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Product-Price-Comparison-Bard-API

This is a test Python application using the open source Google Bard API Library that allows a user to upload a csv file of products and the lowest price of each product is prompted using the Bard API, finally the filtered results are returned which include the price and site link.

price comparison

The open source Bard-API created by Antonio Cheong, Daniel Park can be found here:

https://github.com/dsdanielpark/Bard-API/tree/main

Instructions on Usage

  1. Clone or Download repository

  2. You will have to replace (Line 8) the "XXXXX" with your __Secure-1PSID cookie

image

  1. Cookie Instruction
  • Visit https://bard.google.com/
  • F12 for console
  • Session: Application → Cookies → Copy the value of __Secure-1PSID cookie.
  • Paste the value in the location mentioned at step 2
  1. Edit Prompt for Localisation

This script was created for the Sri lankan market by mentioning specifically the country in the prompt, you can change the prompt on Line 29

image

  1. CSV File Format I've used a format for the CSV file as below

image

About

A simple price comparison application that uses the open-source Unofficial Google Bard API Python library.

Topics

bard-apigooglegoogle-bard-apigoogle-bard-promptsgoogle-bard-pythonprice-scrapingpythonstreamlitstreamlit-webappweb-scraping

Resources

Readme
Activity

Stars

8 stars

Watchers

0 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.