#asimov-module #artificial-intelligence #asimov #module-for-data #api-bindings

no-std bin+lib asimov-serpapi-module

ASIMOV module for data import powered by the SerpApi search data platform

5 releases

Uses new Rust 2024

0.1.2 Jun 19, 2025
0.1.1 May 29, 2025
0.1.0 May 24, 2025
0.0.1 May 22, 2025
0.0.0 May 21, 2025

#449 in HTTP client

Download history 335/week @ 2025-05-19 168/week @ 2025-05-26 14/week @ 2025-06-02 7/week @ 2025-06-09 129/week @ 2025-06-16 13/week @ 2025-06-23

175 downloads per month

Unlicense

67KB
355 lines

ASIMOV SerpApi Module

License Package on Crates.io Package on PyPI Package on RubyGems Package on NPM

ASIMOV module for data import powered by the SerpApi search data platform.

✨ Features

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

🛠️ Prerequisites

  • Rust 1.85+ (2024 edition) if building from source code

⬇️ Installation

Installation from PyPI

pip install -U asimov-serpapi-module

Installation from RubyGems

gem install asimov-serpapi-module

Installation from NPM

npm install -g asimov-serpapi-module

Installation from Source Code

cargo install asimov-serpapi-module

👉 Examples

export SERPAPI_KEY="..."

Fetching DuckDuckGo Results

asimov-serpapi-fetcher https://duckduckgo.com/?q=Isaac+Asimov   # JSON
asimov-serpapi-importer https://duckduckgo.com/?q=Isaac+Asimov  # JSON-LD

Fetching Google Results

asimov-serpapi-fetcher https://www.google.com/search?q=Isaac+Asimov   # JSON
asimov-serpapi-importer https://www.google.com/search?q=Isaac+Asimov  # JSON-LD

Fetching Bing Results

asimov-serpapi-fetcher https://www.bing.com/search?q=Isaac+Asimov   # JSON
asimov-serpapi-importer https://www.bing.com/search?q=Isaac+Asimov  # JSON-LD

⚙ Configuration

Environment Variables

📚 Reference

Installed Binaries

  • asimov-serpapi-fetcher: collects JSON data from the SerpApi real-time API
  • asimov-serpapi-importer: collects and transforms JSON into JSON-LD

Supported Engines

Engine URL Prefix JSON RDF
Bing https://www.bing.com/search?q=
DuckDuckGo https://duckduckgo.com/?q=
Google https://www.google.com/search?q=

👨‍💻 Development

git clone https://github.com/asimov-modules/asimov-serpapi-module.git

Share on X Share on Reddit Share on Hacker News Share on Facebook Share on LinkedIn

Dependencies

~14–31MB
~511K SLoC