crawlora-ebay 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 +4 -4
- data/CHANGELOG.md +1 -1
- data/README.md +19 -2
- data/lib/crawlora/ebay/client.rb +1 -1
- data/lib/crawlora/ebay/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8fe43a8cf023e3acf683d3e5b72c3f8069c5b9c6d57d93def2a13385fe57e672
|
|
4
|
+
data.tar.gz: c5343616ba7be1f55533a2eb335a7d4a0ed7882198bdbd26a7fa17405bba22f6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2dfe94074a61754b2a6169228f491131f18ba3d9155f0145d497a75a86f20889109c6ba1e406de48404cefd2079cafdfbf9a4ef38461c4132143e7d0d9b5c9de
|
|
7
|
+
data.tar.gz: 8a289e233b04ec0eecbaa5f788c72fcf801410877913aee98fdde009aa2c71e67a464f5794954b61e111238984f7ccf1a82e07ad16f70980d3e6f53661f4924c
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Crawlora eBay Ruby
|
|
1
|
+
# Crawlora eBay API client for Ruby (`crawlora-ebay`)
|
|
2
2
|
|
|
3
|
-
This gem calls
|
|
3
|
+
This Ruby gem calls Crawlora's hosted eBay API at `https://api.crawlora.net/api/v1`. It exposes 10 endpoints covering listing search, item details, seller profiles, feedback and shops, and eBay Live streams; it does not call or scrape eBay directly. Requests require your Crawlora API key and use your account's service plan.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -30,4 +30,21 @@ 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 eBay API endpoints
|
|
34
|
+
|
|
35
|
+
Browse every route included in this gem. The [endpoint reference](https://github.com/Crawlora-org/crawlora-ebay/blob/main/docs/usage.md) includes parameter and response details.
|
|
36
|
+
|
|
37
|
+
| Method | Endpoint | API operation | Description |
|
|
38
|
+
| --- | --- | --- | --- |
|
|
39
|
+
| `GET` | `/ebay/item/{item_id}` | `ebay-item` | Get eBay item details |
|
|
40
|
+
| `GET` | `/ebay/live/streams` | `ebay-live-streams` | List eBay Live streams |
|
|
41
|
+
| `GET` | `/ebay/live/streams/batch` | `ebay-live-streams-batch` | Get multiple eBay Live streams |
|
|
42
|
+
| `GET` | `/ebay/live/streams/{id}` | `ebay-live-stream` | Get an eBay Live stream |
|
|
43
|
+
| `GET` | `/ebay/live/streams/{id}/items` | `ebay-live-stream-items` | List an eBay Live stream's featured items |
|
|
44
|
+
| `POST` | `/ebay/search` | `ebay-search` | Search eBay listings |
|
|
45
|
+
| `GET` | `/ebay/seller/{seller}` | `ebay-seller` | Get eBay seller profile |
|
|
46
|
+
| `GET` | `/ebay/seller/{seller}/about` | `ebay-seller-about` | Get eBay seller about details |
|
|
47
|
+
| `GET` | `/ebay/seller/{seller}/feedback` | `ebay-seller-feedback` | Get eBay seller feedback |
|
|
48
|
+
| `GET` | `/ebay/seller/{seller}/shop` | `ebay-seller-shop` | Get eBay seller shop listings |
|
|
49
|
+
|
|
33
50
|
See [Crawlora](https://crawlora.net/?utm_source=rubygems&utm_medium=referral&utm_campaign=platform-clients&utm_content=ebay-ruby-homepage), the [API documentation](https://crawlora.net/docs?utm_source=rubygems&utm_medium=referral&utm_campaign=platform-clients&utm_content=ebay-ruby-api-docs), and [the package repository](https://github.com/Crawlora-org/crawlora-ebay) for account setup, the API operation reference, and release history.
|
data/lib/crawlora/ebay/client.rb
CHANGED
|
@@ -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-ebay-ruby/0.1.
|
|
32
|
+
def initialize(api_key: ENV["CRAWLORA_API_KEY"], base_url: "https://api.crawlora.net/api/v1", timeout: 30, user_agent: "crawlora-ebay-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)
|
metadata
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: crawlora-ebay
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
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
|
+
date: 2026-10-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
|
-
description:
|
|
13
|
+
description: Ruby client for Crawlora's hosted eBay API. Covers listing search, item
|
|
14
|
+
details, seller profiles, feedback and shops, and eBay Live streams across 10 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: eBay client for
|
|
51
|
+
summary: eBay API client for Crawlora (10 endpoints)
|
|
51
52
|
test_files: []
|