crawlora-appstore 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 +24 -2
- data/lib/crawlora/appstore/client.rb +1 -1
- data/lib/crawlora/appstore/version.rb +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a5d0ff756fd4230c78e672a3a12bbbf1617e37f3675f00a442616da843f649de
|
|
4
|
+
data.tar.gz: f1ff9f1f9944d2a17e41c79173f6fa210b160d48aef226ef856365509fd13806
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e5d8bb6a2fffdcb3d7f69f91f820801c77ba3444f50c0198410950d93f046fd9189b69ed89718404d4add05371d35f63c32a443885c09356f164d304dd7b9fca
|
|
7
|
+
data.tar.gz: f4afb61aa17567c421a967c65a2b537b8d4f2b68349f073d3c235c79e18b239e4416d5e0bd82cd13e6253fb7c446acb0130e61a64d44b4f3833425e09dbf23f0
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Crawlora App Store Ruby
|
|
1
|
+
# Crawlora App Store API client for Ruby (`crawlora-appstore`)
|
|
2
2
|
|
|
3
|
-
This gem calls
|
|
3
|
+
This Ruby gem calls Crawlora's hosted App Store API at `https://api.crawlora.net/api/v1`. It exposes 15 endpoints covering app search, details, reviews, ratings, privacy labels, version history, charts, editorial collections, and developers; it does not call or scrape App Store directly. Requests require your Crawlora API key and use your account's service plan.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -30,4 +30,26 @@ 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 App Store API endpoints
|
|
34
|
+
|
|
35
|
+
Browse every route included in this gem. The [endpoint reference](https://github.com/Crawlora-org/crawlora-appstore/blob/main/docs/usage.md) includes parameter and response details.
|
|
36
|
+
|
|
37
|
+
| Method | Endpoint | API operation | Description |
|
|
38
|
+
| --- | --- | --- | --- |
|
|
39
|
+
| `GET` | `/appstore/app` | `appstore-app` | Retrieve full App Store app details |
|
|
40
|
+
| `GET` | `/appstore/categories` | `appstore-categories` | Retrieve App Store chart categories and collections |
|
|
41
|
+
| `GET` | `/appstore/collection` | `appstore-collection` | Retrieve apps in one App Store collection |
|
|
42
|
+
| `GET` | `/appstore/collections` | `appstore-collections` | Discover App Store editorial collections |
|
|
43
|
+
| `GET` | `/appstore/developer/{dev_id}` | `appstore-developer` | Retrieve apps by developer ID |
|
|
44
|
+
| `GET` | `/appstore/editorial` | `appstore-editorial` | Retrieve an App Store device or Arcade editorial landing page |
|
|
45
|
+
| `GET` | `/appstore/editorial/category` | `appstore-editorial-category` | Retrieve an App Store category-scoped editorial page |
|
|
46
|
+
| `GET` | `/appstore/list` | `appstore-list` | Retrieve App Store collection rankings |
|
|
47
|
+
| `GET` | `/appstore/privacy/{id}` | `appstore-privacy` | Retrieve App Store privacy disclosures |
|
|
48
|
+
| `GET` | `/appstore/ratings` | `appstore-ratings` | Retrieve App Store ratings histogram |
|
|
49
|
+
| `GET` | `/appstore/reviews` | `appstore-reviews` | Retrieve App Store reviews |
|
|
50
|
+
| `GET` | `/appstore/search` | `appstore-search` | Search the App Store |
|
|
51
|
+
| `GET` | `/appstore/similar` | `appstore-similar` | Retrieve "You Might Also Like" apps |
|
|
52
|
+
| `GET` | `/appstore/suggest/{term}` | `appstore-suggest` | Retrieve App Store search suggestions |
|
|
53
|
+
| `GET` | `/appstore/version-history/{id}` | `appstore-version-history` | Retrieve App Store version history |
|
|
54
|
+
|
|
33
55
|
See [Crawlora](https://crawlora.net/?utm_source=rubygems&utm_medium=referral&utm_campaign=platform-clients&utm_content=appstore-ruby-homepage), the [API documentation](https://crawlora.net/docs?utm_source=rubygems&utm_medium=referral&utm_campaign=platform-clients&utm_content=appstore-ruby-api-docs), and [the package repository](https://github.com/Crawlora-org/crawlora-appstore) 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-appstore-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-appstore-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,18 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: crawlora-appstore
|
|
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 App Store API. Covers app search, details,
|
|
14
|
+
reviews, ratings, privacy labels, version history, charts, editorial collections,
|
|
15
|
+
and developers across 15 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: App Store client for
|
|
52
|
+
summary: App Store API client for Crawlora (15 endpoints)
|
|
51
53
|
test_files: []
|