File | Date | Author | Commit |
---|---|---|---|
.github | 2023-09-22 |
![]() |
[33c62b] Create openshift.yml |
.vscode | 2023-09-22 |
![]() |
[f80658] initial commit |
CMakeFiles | 2023-09-22 |
![]() |
[f80658] initial commit |
build | 2023-09-22 |
![]() |
[f80658] initial commit |
my_image_fetcher_library | 2023-09-22 |
![]() |
[f80658] initial commit |
CMakeCache.txt | 2023-09-22 |
![]() |
[f80658] initial commit |
CMakeLists.txt | 2023-09-22 |
![]() |
[f80658] initial commit |
LICENSE | 2023-09-22 |
![]() |
[ec32df] Create LICENSE |
README.md | 2023-09-22 |
![]() |
[0561ea] Update README.md |
desktop.ini | 2023-09-22 |
![]() |
[f80658] initial commit |
My Image Fetcher Library is a C++ library that allows you to search for images on Google and download them to your local system. It provides a simple API for querying Google's Custom Search API and saving image results.
Before using the library, you'll need the following:
shell
git clone https://github.com/pb2204/cpp-google-image-fetcher.git
cd my-image-fetcher-library
shell
mkdir build
cd build
cmake ..
make
cpp
#include "google_image_fetcher.h"
GoogleImageFetcher
class:cpp
GoogleImageFetcher imageFetcher;
fetchImages
method to search and download images:cpp
imageFetcher.fetchImages("cat", "downloaded_images");
This example searches for images of cats and saves them to the "downloaded_images" folder.
You can find a complete example of using the library in the examples directory.
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
git checkout -b feature/your-feature-name
git commit -m "Add your changes"
git push origin feature/your-feature-name
Please review the Contributing Guidelines for more details.
This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions, suggestions, or feedback, feel free to reach out to Pabitra Banerjee.
Happy coding!