ASIMOV module for data import powered by the SerpApi search data platform.
- Imports structured data from DuckDuckGo, Google, and Bing search results.
- Collects the raw JSON data via the SerpApi real-time API (requires an API key).
- Constructs a semantic knowledge graph based on the KNOW ontology.
- Supports plain JSON output as well as RDF output in the form of JSON-LD.
- Distributed as a standalone static binary with zero runtime dependencies.
- Rust 1.85+ (2024 edition) if building from source code
asimov module install serpapi -vpip install -U asimov-serpapi-modulegem install asimov-serpapi-modulenpm install -g asimov-serpapi-modulecargo install asimov-serpapi-moduleexport SERPAPI_KEY="..."asimov-serpapi-fetcher https://duckduckgo.com/?q=Isaac+Asimov # JSON
asimov-serpapi-importer https://duckduckgo.com/?q=Isaac+Asimov # JSON-LDasimov-serpapi-fetcher https://www.google.com/search?q=Isaac+Asimov # JSON
asimov-serpapi-importer https://www.google.com/search?q=Isaac+Asimov # JSON-LDasimov-serpapi-fetcher https://www.bing.com/search?q=Isaac+Asimov # JSON
asimov-serpapi-importer https://www.bing.com/search?q=Isaac+Asimov # JSON-LDSERPAPI_KEY: (required) the SerpApi API key to use
asimov-serpapi-fetcher: collects JSON data from the SerpApi real-time APIasimov-serpapi-importer: collects and transforms JSON into JSON-LD
$ asimov-serpapi-fetcher --help
asimov-serpapi-fetcher
Usage: asimov-serpapi-fetcher [OPTIONS] [URLS]...
Arguments:
[URLS]...
Options:
-d, --debug Enable debugging output
--license Show license information
-v, --verbose... Enable verbose output (may be repeated for more verbosity)
-V, --version Print version information
-o, --output <FORMAT> The output format
-h, --help Print help$ asimov-serpapi-importer --help
asimov-serpapi-importer
Usage: asimov-serpapi-importer [OPTIONS] [URLS]...
Arguments:
[URLS]...
Options:
-d, --debug Enable debugging output
--license Show license information
-v, --verbose... Enable verbose output (may be repeated for more verbosity)
-V, --version Print version information
-o, --output <FORMAT> The output format
-h, --help Print help| Engine | URL Prefix | JSON | RDF |
|---|---|---|---|
| Bing | https://www.bing.com/search?q= |
✅ | ✅ |
| DuckDuckGo | https://duckduckgo.com/?q= |
✅ | ✅ |
https://www.google.com/search?q= |
✅ | ✅ | |
git clone https://github.com/asimov-modules/asimov-serpapi-module.git