An open API service indexing awesome lists of open source software.

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++.

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