https://github.com/serpapi/serpapi-search-cpp
Library to search on Google, Bing, HomeDepot, Baidu, Yandex and more using SerpApi written in C++.
https://github.com/serpapi/serpapi-search-cpp
Last synced: about 2 months ago
JSON representation
Library to search on Google, Bing, HomeDepot, Baidu, Yandex and more using SerpApi written in C++.
- Host: GitHub
- URL: https://github.com/serpapi/serpapi-search-cpp
- Owner: serpapi
- License: mit
- Created: 2021-01-16T14:10:46.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-04-26T06:55:16.000Z (almost 3 years ago)
- Last Synced: 2025-03-10T02:10:56.949Z (11 months ago)
- Language: C++
- Size: 26.4 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# serpapi-search-cpp
Extension to search on Google, Bing, HomeDepot, Baidu, Yandex and more using SerpApi written in C++.
The backend is powered by serpapi.com and required an account
Current Status: `draft`
## Run with Docker
```bash
env API_KEY=API_KEY docker run --rm -it -e API_KEY --workdir /tmp/serpapi -v $PWD:/tmp/serpapi conanio/gcc10 make install_linux reset all
```
This will use https://hub.docker.com/layers/conanio/gcc10 image instead
of creating our own image for compilation on Linux.
## Get started.
- Set an environment API_KEY=
- Install dependency either apple or linux tested.
- `make install_apple`
- `make install_linux`
- Initialize the project: `make reset`
- Compile `make` or `make build run`
- Edit main.cpp for testing.
#### To modify the *Search classes
- edit sooglesearch.cpp/hpp
- update all files using `rake`
## TODO
- [ ] Add unit test
- [ ] Customize classes
- [ ] Package as a library
- [ ] Create OOBT test
- [ ] Publish library online
- [ ] Add REPL.it example
- [ ] Add integration documentation on serpapi.com
- [ ] Write a full README to match serpapi-search-results-dotnet
https://rapidjson.org/md_doc_tutorial.html