{"id":20629733,"url":"https://github.com/pb2204/google_image_fetcher","last_synced_at":"2025-09-01T05:37:06.220Z","repository":{"id":196096736,"uuid":"694337224","full_name":"PB2204/google_image_fetcher","owner":"PB2204","description":"Google Image Fetcher is a Python library that allows you to fetch images from Google Search using the Custom Search JSON API.","archived":false,"fork":false,"pushed_at":"2025-06-20T08:38:31.000Z","size":1327,"stargazers_count":21,"open_issues_count":5,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-29T22:25:25.573Z","etag":null,"topics":["collaborate","github","gitkraken","gitlens","hacktoberfest","jetbrains","learn","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/google-image-fetcher/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PB2204.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-09-20T19:48:45.000Z","updated_at":"2025-02-01T19:00:40.000Z","dependencies_parsed_at":"2023-09-21T09:58:08.389Z","dependency_job_id":"3c82bf5f-db60-4aed-a70d-0166462168f9","html_url":"https://github.com/PB2204/google_image_fetcher","commit_stats":null,"previous_names":["pb2204/google_image_fetcher"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/PB2204/google_image_fetcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PB2204%2Fgoogle_image_fetcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PB2204%2Fgoogle_image_fetcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PB2204%2Fgoogle_image_fetcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PB2204%2Fgoogle_image_fetcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PB2204","download_url":"https://codeload.github.com/PB2204/google_image_fetcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PB2204%2Fgoogle_image_fetcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273077227,"owners_count":25041358,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["collaborate","github","gitkraken","gitlens","hacktoberfest","jetbrains","learn","python"],"created_at":"2024-11-16T14:05:50.438Z","updated_at":"2025-09-01T05:37:06.153Z","avatar_url":"https://github.com/PB2204.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# google_image_fetcher\n\nGoogle Image Fetcher is a Python library that allows you to fetch images from Google Search using the Custom Search JSON API.\n\n## Motive Of The Project\n\nFrontend Developers faces a problem , when they develop any website , that is IMAGE . All the time , they have to go to Google , to search and download the images , they want to use this in their website , when there is no Graphic Designer available in their team . As a Frontend Developer , I also faces the same problem . To solve this problem here you have this Python Library .\n\nI want to develop this library for non-python programmers also . Here You can use this library , without any knowledge of Python Programming .\n\nHere after following all the steps , you will be able to use the images , which will be downloaded according to your prompt / query . Also you can see the `URL` of those images in the terminal below .\n\n## Structure Of The Project\n\n```bash\ngoogle_image_fetcher/\n│\n├── google_image_fetcher/\n│   ├── __init__.py\n│   └── google_image_fetcher.py\n│\n├── CONTRIUTING.md\n├── LEARN.md\n├── LICENSE\n├── README.md\n└── setup.py\n```\n\n## setup.py\n\n```bash\nfrom setuptools import setup, find_packages\nimport codecs\nimport os\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\nwith codecs.open(os.path.join(here, \"README.md\"), encoding=\"utf-8\") as fh:\n    long_description = \"\\n\" + fh.read()\n\nVERSION = '1.1.0'\nDESCRIPTION = 'Fetch \u0026 Download Images From Google'\nLONG_DESCRIPTION = 'Google Image Fetcher is a Python library that allows you to fetch images from Google Search using the Custom Search JSON API.'\n\n# Setting up\nsetup(\n    name=\"google_image_fetcher\",\n    version=VERSION,\n    author=\"PB2204 (Pabitra Banerjee)\",\n    author_email=\"\u003crockstarpabitra2204@gmail.com\u003e\",\n    description=DESCRIPTION,\n    long_description_content_type=\"text/markdown\",\n    long_description=long_description,\n    packages=find_packages(),\n    install_requires=['requests','python-dotenv'],\n    keywords=['python', 'image', 'fetch', 'web scrapping', 'image scrapping'],\n    classifiers=[\n        \"Development Status :: 4 - Beta\",\n        \"Intended Audience :: Developers\",\n        \"Programming Language :: Python :: 3\",\n        \"Operating System :: Unix\",\n        \"Operating System :: MacOS :: MacOS X\",\n        \"Operating System :: Microsoft :: Windows\",\n    ]\n)\n```\n\n## Installation\n\nYou can install this library using pip:\n\n```bash\npip install google_image_fetcher\n```\n\nor\n\n```bash\npip install google-image-fetcher\n```\n\nThen You've to create new python `(.py)` file in the same folder , you're working in the Frontend / Full-Stack project .\n\nThen You've to copy the following lines of code to your `.py` file .\n\n```bash\nfrom google_image_fetcher.google_image_fetcher import GoogleImageFetcher\n\n# Create a GoogleImageFetcher instance\nfetcher = GoogleImageFetcher()\n\n# Define the search query\nquery = \"YOUR_QUERY\"\n\n# Fetch and save images\nfetcher.fetch_images(query, save_folder=\"YOUR_FOLDER NAME\")\n```\n\nYou just need to substitute `YOUR_QUERY` to your required `Image Name` and the `YOUR_FOLDER NAME` to , where you want to download the images , which will be created inside the same folder, where you're currently working . This is so simple to use .\n\nNow you're ready to use the images .\n\n## Contribution\n\nIf you want to contribute something please follow the [CONTRIUTING.md](https://github.com/PB2204/google_image_fetcher/blob/main/CONTRIBUTING.md).\n\n# Happy Coding 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpb2204%2Fgoogle_image_fetcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpb2204%2Fgoogle_image_fetcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpb2204%2Fgoogle_image_fetcher/lists"}