crawlora-duckduckgo 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9536aabc273e65eb51343f5832e14c2550f16dca761dff85a48c6c4bc206553b
4
- data.tar.gz: 324a4fc7b961058df05e13af6205224adf15685663e9b898a43a7ffeb59e6834
3
+ metadata.gz: eae9de6d2801a04401d8b336fa3e6202170e4b29979ce9c446eff143619171c4
4
+ data.tar.gz: cef82522bfd6908b338d176aea5be4da7745d07d29287966e724cfb9b2d9183a
5
5
  SHA512:
6
- metadata.gz: b82fb15419415c0a93210a6e8c84861dcfaa0d93c69801df00d53df2f8cfd5fa6a6941b01e0c80fda09b66b5567b4bc5fec11cd5e221c654053d3dcf41fc5ba5
7
- data.tar.gz: a97113669d2b31f4c00472bec69f8d061a4765750947b9bedf07512429ef52f06faea190ecd0f688a8f2de6a3c4107171c0f8fa11f617c645709ab326aeb521a
6
+ metadata.gz: 452a006ac3047ec69e7cb3925ef79bcdbc8a759d653820fb88cc0058671bc2f08d27432c3fdf623ca9760ccd909327d4fa0483f16d7819983c5b74708aeab7a8
7
+ data.tar.gz: 98afabe08e32e53b89642ce7882e69dee697c511518516b1c9e7a506c2096f1cde2bd93223701428d56359dff143ecf467489b7c43b6f228ac6ccc176a4ee797
data/CHANGELOG.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.0
3
+ ## 0.1.1
4
4
 
5
5
  - Initial focused DuckDuckGo Ruby client for Crawlora's hosted API.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Crawlora DuckDuckGo Ruby client
1
+ # Crawlora DuckDuckGo API client for Ruby (`crawlora-duckduckgo`)
2
2
 
3
- This gem calls the Crawlora hosted API at `https://api.crawlora.net/api/v1`. It does not call or scrape DuckDuckGo directly. Requests require your Crawlora API key and use your account's service plan.
3
+ This Ruby gem calls Crawlora's hosted DuckDuckGo API at `https://api.crawlora.net/api/v1`. It exposes 6 endpoints covering web, news, image, video, and shopping search plus query suggestions; it does not call or scrape DuckDuckGo directly. Requests require your Crawlora API key and use your account's service plan.
4
4
 
5
5
  ## Install
6
6
 
@@ -30,4 +30,17 @@ client.close
30
30
 
31
31
  Client options include `api_key`, `base_url`, and `timeout`. Ruby stdlib provides the HTTP and JSON support.
32
32
 
33
+ ## Supported DuckDuckGo API endpoints
34
+
35
+ Browse every route included in this gem. The [endpoint reference](https://github.com/Crawlora-org/crawlora-duckduckgo/blob/main/docs/usage.md) includes parameter and response details.
36
+
37
+ | Method | Endpoint | API operation | Description |
38
+ | --- | --- | --- | --- |
39
+ | `GET` | `/duckduckgo/image` | `duckduckgo-image` | Search DuckDuckGo image results |
40
+ | `GET` | `/duckduckgo/news` | `duckduckgo-news` | Search DuckDuckGo news results |
41
+ | `GET` | `/duckduckgo/search` | `duckduckgo-search` | Search DuckDuckGo web results |
42
+ | `GET` | `/duckduckgo/shopping` | `duckduckgo-shopping` | Search DuckDuckGo shopping results |
43
+ | `GET` | `/duckduckgo/suggest` | `duckduckgo-suggest` | Suggest DuckDuckGo search queries |
44
+ | `GET` | `/duckduckgo/video` | `duckduckgo-video` | Search DuckDuckGo video results |
45
+
33
46
  See [Crawlora](https://crawlora.net/?utm_source=rubygems&utm_medium=referral&utm_campaign=platform-clients&utm_content=duckduckgo-ruby-homepage), the [API documentation](https://crawlora.net/docs?utm_source=rubygems&utm_medium=referral&utm_campaign=platform-clients&utm_content=duckduckgo-ruby-api-docs), and [the package repository](https://github.com/Crawlora-org/crawlora-duckduckgo) for account setup, the API operation reference, and release history.
@@ -29,7 +29,7 @@ module Crawlora
29
29
  class Client
30
30
  attr_reader :base_url
31
31
 
32
- def initialize(api_key: ENV["CRAWLORA_API_KEY"], base_url: "https://api.crawlora.net/api/v1", timeout: 30, user_agent: "crawlora-duckduckgo-ruby/0.1.0", transport: nil)
32
+ def initialize(api_key: ENV["CRAWLORA_API_KEY"], base_url: "https://api.crawlora.net/api/v1", timeout: 30, user_agent: "crawlora-duckduckgo-ruby/0.1.1", transport: nil)
33
33
  @api_key = api_key
34
34
  @base_url = base_url.to_s.sub(%r{/+$}, "")
35
35
  @timeout = Float(timeout)
@@ -1,5 +1,5 @@
1
1
  module Crawlora
2
2
  module Duckduckgo
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crawlora-duckduckgo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Crawlora
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-10-11 00:00:00.000000000 Z
11
+ date: 2026-10-12 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Credential-free DuckDuckGo API access through Crawlora's hosted service.
13
+ description: Ruby client for Crawlora's hosted DuckDuckGo API. Covers web, news, image,
14
+ video, and shopping search plus query suggestions across 6 endpoints.
14
15
  email:
15
16
  executables: []
16
17
  extensions: []
@@ -47,5 +48,5 @@ requirements: []
47
48
  rubygems_version: 3.4.19
48
49
  signing_key:
49
50
  specification_version: 4
50
- summary: DuckDuckGo client for the Crawlora hosted API
51
+ summary: DuckDuckGo API client for Crawlora (6 endpoints)
51
52
  test_files: []