crawlora-airbnb 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: 3cd6d48908817d567e8427d5fb0bf947e60f8d71f75fb9e6db3f96f570cd0a13
4
- data.tar.gz: ce269cd19fe5acd3e610f123320658c672bdb328c1d0904d522369798b3afdc5
3
+ metadata.gz: 7eb6e0ace6baba1579acfcf9c5ff30ad696ab7776f78800162934e0b3d6fb511
4
+ data.tar.gz: 13a30e6527b1f0a2397f4d0d780c2eac088f495db84e7d912dc569d5083094d0
5
5
  SHA512:
6
- metadata.gz: 7a2b126f664f31393ced7213fb307b94b202f104c490585625e706af4d96881f75a8744eaa65f4b9927f8b7820fcacb52d9aef4bd29b0c7662ca10c9efa3f8f3
7
- data.tar.gz: '058539511014524c0ff79fa9051b6a999db0b56c62acc08ba127f72e5a59ab5b7bbfdb050e23f47b5170d672d24a80d3734f310deedec90f0055a0cf4b9d5a79'
6
+ metadata.gz: 78c65d3d1e648ba0abb93416501d665b3be300a39fc26d68d01dc2db7aaff3d1b60eec9fc270769631f91d9604ef9156280e4456663f1133129e4b0b1283879c
7
+ data.tar.gz: 1c56937d2380ce9f8e64d246118bc06b39a1b2b36d06d275f1322ab7bbd5a7215e804125e7ec2c5d4b3c2c70720568e8b3ec885e403fb77372fcff218c2bbc52
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 Airbnb Ruby client for Crawlora's hosted API.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Crawlora Airbnb Ruby client
1
+ # Crawlora Airbnb API client for Ruby (`crawlora-airbnb`)
2
2
 
3
- This gem calls the Crawlora hosted API at `https://api.crawlora.net/api/v1`. It does not call or scrape Airbnb directly. Requests require your Crawlora API key and use your account's service plan.
3
+ This Ruby gem calls Crawlora's hosted Airbnb API at `https://api.crawlora.net/api/v1`. It exposes 7 endpoints covering listing search, room details, calendars and reviews, and host profiles, listings and reviews; it does not call or scrape Airbnb directly. Requests require your Crawlora API key and use your account's service plan.
4
4
 
5
5
  ## Install
6
6
 
@@ -30,4 +30,18 @@ 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 Airbnb API endpoints
34
+
35
+ Browse every route included in this gem. The [endpoint reference](https://github.com/Crawlora-org/crawlora-airbnb/blob/main/docs/usage.md) includes parameter and response details.
36
+
37
+ | Method | Endpoint | API operation | Description |
38
+ | --- | --- | --- | --- |
39
+ | `GET` | `/airbnb/host/{id}` | `airbnb-host` | Get Airbnb host profile |
40
+ | `GET` | `/airbnb/host/{id}/listings` | `airbnb-host-listings` | Get Airbnb host listings |
41
+ | `GET` | `/airbnb/host/{id}/reviews` | `airbnb-host-reviews` | Get Airbnb host reviews |
42
+ | `GET` | `/airbnb/room/{id}` | `airbnb-room` | Get Airbnb room |
43
+ | `GET` | `/airbnb/room/{id}/calendar` | `airbnb-room-calendar` | Get Airbnb room calendar |
44
+ | `GET` | `/airbnb/room/{id}/reviews` | `airbnb-room-reviews` | Get Airbnb room reviews |
45
+ | `GET` | `/airbnb/search` | `airbnb-search` | Search Airbnb stays |
46
+
33
47
  See [Crawlora](https://crawlora.net/?utm_source=rubygems&utm_medium=referral&utm_campaign=platform-clients&utm_content=airbnb-ruby-homepage), the [API documentation](https://crawlora.net/docs?utm_source=rubygems&utm_medium=referral&utm_campaign=platform-clients&utm_content=airbnb-ruby-api-docs), and [the package repository](https://github.com/Crawlora-org/crawlora-airbnb) 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-airbnb-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-airbnb-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 Airbnb
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,16 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crawlora-airbnb
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 Airbnb API access through Crawlora's hosted service.
13
+ description: Ruby client for Crawlora's hosted Airbnb API. Covers listing search,
14
+ room details, calendars and reviews, and host profiles, listings and reviews across
15
+ 7 endpoints.
14
16
  email:
15
17
  executables: []
16
18
  extensions: []
@@ -47,5 +49,5 @@ requirements: []
47
49
  rubygems_version: 3.4.19
48
50
  signing_key:
49
51
  specification_version: 4
50
- summary: Airbnb client for the Crawlora hosted API
52
+ summary: Airbnb API client for Crawlora (7 endpoints)
51
53
  test_files: []