crawlora-brave 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: 83e5fa168eb1e2a61324138ca88113c9bfd573df76139b11c475d447ee805f0c
4
- data.tar.gz: 33b17652bf84dd0da89e7a99ee1d74b3e76f9c3c5659f1da6776fd81819c25de
3
+ metadata.gz: 59e4a82cbf5c8858f1b089cbe6cc4ee91fe2056b5aba642993150659d2a348e4
4
+ data.tar.gz: 97d50d3600d90f87529d8cd4547eb2449fe39a336110f0e304398174ceda9b85
5
5
  SHA512:
6
- metadata.gz: c9752ddae6efa10c828bc223234c6f875bf239d3d1dd5d86b85f2ccf5b421cef02ba2fb057800087babba4c958741c6cb31b5b9d6296172a76825184b7e09fb4
7
- data.tar.gz: 80b13044d7da746407d102c4814ecf2bd6ac74e53baaeb3648b11a3a649a0c1ffc9e739467093c7e5c74ea947b289b544632f7e0dd67e76ed467620f4ed130c6
6
+ metadata.gz: befadcbb97c0f477ec5e0c68e4a9c93b2b6da94db48b901357043b437a3825892cdbc06545e180318cb3cafcacf32ca2244644ef0d5fd68d65233f0c88456ef5
7
+ data.tar.gz: 23f00c01d2729a571bffae63a44d82e7d2e9e3bf7372a3d07d1952b850e16517f05784a0306d50fc1f497b6abdd0ccc41509dd29c56aea6f2a6a7a596c175f1d
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 Brave Search Ruby client for Crawlora's hosted API.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Crawlora Brave Search Ruby client
1
+ # Crawlora Brave Search API client for Ruby (`crawlora-brave`)
2
2
 
3
- This gem calls the Crawlora hosted API at `https://api.crawlora.net/api/v1`. It does not call or scrape Brave Search directly. Requests require your Crawlora API key and use your account's service plan.
3
+ This Ruby gem calls Crawlora's hosted Brave Search API at `https://api.crawlora.net/api/v1`. It exposes 5 endpoints covering web, news, image, and video search plus query suggestions; it does not call or scrape Brave Search directly. Requests require your Crawlora API key and use your account's service plan.
4
4
 
5
5
  ## Install
6
6
 
@@ -30,4 +30,16 @@ 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 Brave Search API endpoints
34
+
35
+ Browse every route included in this gem. The [endpoint reference](https://github.com/Crawlora-org/crawlora-brave/blob/main/docs/usage.md) includes parameter and response details.
36
+
37
+ | Method | Endpoint | API operation | Description |
38
+ | --- | --- | --- | --- |
39
+ | `GET` | `/brave/images` | `brave-images` | Search Brave image results |
40
+ | `GET` | `/brave/news` | `brave-news` | Search Brave news results |
41
+ | `GET` | `/brave/search` | `brave-search` | Search Brave |
42
+ | `GET` | `/brave/suggest` | `brave-suggest` | Suggest Brave search queries |
43
+ | `GET` | `/brave/videos` | `brave-videos` | Search Brave video results |
44
+
33
45
  See [Crawlora](https://crawlora.net/?utm_source=rubygems&utm_medium=referral&utm_campaign=platform-clients&utm_content=brave-ruby-homepage), the [API documentation](https://crawlora.net/docs?utm_source=rubygems&utm_medium=referral&utm_campaign=platform-clients&utm_content=brave-ruby-api-docs), and [the package repository](https://github.com/Crawlora-org/crawlora-brave) 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-brave-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-brave-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 Brave
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-brave
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 Brave Search API access through Crawlora's hosted service.
13
+ description: Ruby client for Crawlora's hosted Brave Search API. Covers web, news,
14
+ image, and video search plus query suggestions across 5 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: Brave Search client for the Crawlora hosted API
51
+ summary: Brave Search API client for Crawlora (5 endpoints)
51
52
  test_files: []