crawlora-bing 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: 7f7deaaa5648bb63d388be415498c56f6c1c450c3a30fd7af93c1593811eacce
4
- data.tar.gz: 939b3627b3bce337534208dbccf839863f870475d6818a9d72ebac5f3a5d98de
3
+ metadata.gz: 7bf6da42e213824abe5ccbee770c74846c4a70478c8d1a2c552359307823364d
4
+ data.tar.gz: 2a29286e0a05945bd55d93ea7446d4bfee35928365c66328fab86b1889dc127d
5
5
  SHA512:
6
- metadata.gz: 044c4f93b3e25dc566cc0d1f57dbb75a9290a26cc59354416441be02eabce2920a492ecbfa065efa4e19c7a255f3fb0008b536b075218bde5c5b7c74060c461a
7
- data.tar.gz: 37e8e4c9b5060e4eef5544ddcf426d00e8ceb339865563eb17b591d806cd2ed4f8b1eadc53758f9b2e1da93dd4d80af5e6d318eba84a82e8ef90de7e763d49f0
6
+ metadata.gz: 26c9b5ce4032aae973fb417f9ab3c7fcacdf74989ba07efc9da497a6c7dba664ad004aee5995251ebf706b7d5c8a5068889f38e487f7efd671ee1dd872e92b7f
7
+ data.tar.gz: 6dda50c805b9e17adaa7ebc7fc99bf43f359990581d5643f36ee8db5a02894655e8d56d907ef585be5977ead18b9e8380e19aea7a62fe9be26b1b31ed5c4c484
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 Bing Ruby client for Crawlora's hosted API.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Crawlora Bing Ruby client
1
+ # Crawlora Bing API client for Ruby (`crawlora-bing`)
2
2
 
3
- This gem calls the Crawlora hosted API at `https://api.crawlora.net/api/v1`. It does not call or scrape Bing directly. Requests require your Crawlora API key and use your account's service plan.
3
+ This Ruby gem calls Crawlora's hosted Bing 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 Bing 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 Bing API endpoints
34
+
35
+ Browse every route included in this gem. The [endpoint reference](https://github.com/Crawlora-org/crawlora-bing/blob/main/docs/usage.md) includes parameter and response details.
36
+
37
+ | Method | Endpoint | API operation | Description |
38
+ | --- | --- | --- | --- |
39
+ | `GET` | `/bing/images` | `bing-images` | Search Bing image results |
40
+ | `GET` | `/bing/news` | `bing-news` | Search Bing news results |
41
+ | `GET` | `/bing/search` | `bing-search` | Search Bing web results |
42
+ | `GET` | `/bing/suggest` | `bing-suggest` | Suggest Bing search queries |
43
+ | `GET` | `/bing/videos` | `bing-videos` | Search Bing video results |
44
+
33
45
  See [Crawlora](https://crawlora.net/?utm_source=rubygems&utm_medium=referral&utm_campaign=platform-clients&utm_content=bing-ruby-homepage), the [API documentation](https://crawlora.net/docs?utm_source=rubygems&utm_medium=referral&utm_campaign=platform-clients&utm_content=bing-ruby-api-docs), and [the package repository](https://github.com/Crawlora-org/crawlora-bing) 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-bing-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-bing-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 Bing
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-bing
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 Bing API access through Crawlora's hosted service.
13
+ description: Ruby client for Crawlora's hosted Bing API. Covers web, news, image,
14
+ 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: Bing client for the Crawlora hosted API
51
+ summary: Bing API client for Crawlora (5 endpoints)
51
52
  test_files: []