Skip to content

B1N4RY-P4R45173/Custom-Search-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Secure API Key Storage and Search with Google Custom Search Engine

This Python script allows you to securely store and retrieve an API key for Google Custom Search Engine (CSE) using encryption. It then uses the stored API key to perform a search on Google CSE and display the results.

Installation

To run this script, you need to have Python installed on your system.

  1. Clone this repository to your local machine:

    git clone https://github.com/B1N4RY-P4R45173/Custom-Search-Engine.git

  2. Naviage to the directory:

    cd Custom-Search-Engine

  3. Install the required dependencies using pip:

    pip install -r requirements.txt

  4. Finally run the script:

    python main.py

    If this doesn't work please try:

    python3 main.py

    And if it still doesn't work please recheck if you have latest version of python

Usage

  1. After cloning the repository, navigate to the project directory in your terminal.

  2. Run the script using the following command:

  3. Follow the instructions to enter your API key and the search term.

  4. The script will perform the search using the Google CSE API and display the results.

Configuration

If you would like to use this script for some other Custom Search Engine please configure the SEARCH_ENGINE_ID variable in the main.py file with your search engine ID.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages