crawlora 1.5.0.pre.sdk.3 → 1.6.0.pre.sdk.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 +7 -0
- data/docs/operations.md +11 -5
- data/docs/recipes.md +9 -0
- data/lib/crawlora/operations.rb +310 -5
- data/lib/crawlora/version.rb +1 -1
- data/openapi/public.json +1301 -110
- data/sig/crawlora.rbs +14 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '06503911970d596c0e191164b365247bde58a78ce2cd840c0ff18492b9d1cc6b'
|
|
4
|
+
data.tar.gz: bf80854532f824cf8ce73881ed7c978fcd81073f178505f91e3723179ff6b7aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 14ee5fee236698951fa031eb8d86469fc481b27f18394d9dbffb6ba40301229f3a9a1806f2323c0576945e906cd961cb1a9576333b064354f497d7a5e52fc3c5
|
|
7
|
+
data.tar.gz: 9cad2508981712b0146393781dcbad62a28ab93ef17fae77f0159f97f4fef8c96ccc93aa2adcfa8bc8ed3ca9f00861ac3acf41b9bb1c3e8bcabd51e2d8ed755c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.6.0-sdk.1
|
|
4
|
+
|
|
5
|
+
- Added the **Reddit** platform (`reddit.search`, `reddit.post`,
|
|
6
|
+
`reddit.comments`, `reddit.subreddit_posts`) and the **Brand** platform
|
|
7
|
+
(`brand.retrieve`), plus Yahoo Finance `yahoo_finance.lookup`. Regenerated from
|
|
8
|
+
the public API contract.
|
|
9
|
+
|
|
3
10
|
## 1.5.0-sdk.3
|
|
4
11
|
|
|
5
12
|
- Richer RBS: generated `sig/crawlora.rbs` now declares typed keyword parameters
|
data/docs/operations.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Generated from `openapi/public.json`. Deprecated, admin, and internal operations are excluded from this SDK contract.
|
|
4
4
|
|
|
5
|
-
Total operations: `
|
|
5
|
+
Total operations: `336`
|
|
6
6
|
|
|
7
7
|
| Group | SDK method | Operation ID | HTTP | Params | Auth | Response | Notes |
|
|
8
8
|
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
@@ -41,6 +41,7 @@ Total operations: `330`
|
|
|
41
41
|
| bing | `bing.search` | `bing-search` | `GET /bing/search` | `q` (query String required)<br>`page` (query Integer)<br>`count` (query Integer)<br>`country` (query String)<br>`lang` (query String) | `ApiKeyAuth` | `BingSearchResponse` | |
|
|
42
42
|
| bing | `bing.suggest` | `bing-suggest` | `GET /bing/suggest` | `q` (query String required)<br>`count` (query Integer)<br>`country` (query String)<br>`lang` (query String) | `ApiKeyAuth` | `BingSuggestResponse` | |
|
|
43
43
|
| bing | `bing.videos` | `bing-videos` | `GET /bing/videos` | `q` (query String required)<br>`page` (query Integer)<br>`count` (query Integer)<br>`country` (query String)<br>`lang` (query String) | `ApiKeyAuth` | `BingVideosResponse` | |
|
|
44
|
+
| brand | `brand.retrieve` | `brand-retrieve` | `GET /brand/retrieve` | `domain` (query String required)<br>`force_language` (query String)<br>`maxSpeed` (query bool)<br>`maxAgeMs` (query Integer)<br>`timeoutMS` (query Integer) | `ApiKeyAuth` | `BrandRetrieveResponse` | |
|
|
44
45
|
| brave | `brave.images` | `brave-images` | `GET /brave/images` | `q` (query String required)<br>`offset` (query Integer)<br>`count` (query Integer)<br>`country` (query "all" \| "ar" \| "at" \| "au" \| "be" \| "br" \| "ca" \| "ch" \| "cl" \| "cn" \| "de" \| "dk" \| "es" \| "fi" \| "fr" \| "gb" \| "gr" \| "hk" \| "id" \| "in" \| "it" \| "jp" \| "kr" \| "mx" \| "my" \| "nl" \| "no" \| "nz" \| "ph" \| "pl" \| "pt" \| "ru" \| "sa" \| "se" \| "sg" \| "tr" \| "tw" \| "us" \| "za")<br>`lang` (query "de-de" \| "en-ca" \| "en-gb" \| "en-in" \| "en-us" \| "fi-fi" \| "fr-ca" \| "fr-fr" \| "ja-jp" \| "pt-br" \| "sq-al" \| "sw-ke" \| "zh-tw") | `ApiKeyAuth` | `BraveImagesResponse` | |
|
|
45
46
|
| brave | `brave.news` | `brave-news` | `GET /brave/news` | `q` (query String required)<br>`offset` (query Integer)<br>`count` (query Integer)<br>`country` (query "all" \| "ar" \| "at" \| "au" \| "be" \| "br" \| "ca" \| "ch" \| "cl" \| "cn" \| "de" \| "dk" \| "es" \| "fi" \| "fr" \| "gb" \| "gr" \| "hk" \| "id" \| "in" \| "it" \| "jp" \| "kr" \| "mx" \| "my" \| "nl" \| "no" \| "nz" \| "ph" \| "pl" \| "pt" \| "ru" \| "sa" \| "se" \| "sg" \| "tr" \| "tw" \| "us" \| "za")<br>`lang` (query "de-de" \| "en-ca" \| "en-gb" \| "en-in" \| "en-us" \| "fi-fi" \| "fr-ca" \| "fr-fr" \| "ja-jp" \| "pt-br" \| "sq-al" \| "sw-ke" \| "zh-tw")<br>`time_range` (query "any" \| "day" \| "week" \| "month" \| "year" \| "custom")<br>`date_from` (query String)<br>`date_to` (query String) | `ApiKeyAuth` | `BraveNewsResponse` | |
|
|
46
47
|
| brave | `brave.search` | `brave-search` | `GET /brave/search` | `q` (query String required)<br>`offset` (query Integer)<br>`country` (query "all" \| "ar" \| "at" \| "au" \| "be" \| "br" \| "ca" \| "ch" \| "cl" \| "cn" \| "de" \| "dk" \| "es" \| "fi" \| "fr" \| "gb" \| "gr" \| "hk" \| "id" \| "in" \| "it" \| "jp" \| "kr" \| "mx" \| "my" \| "nl" \| "no" \| "nz" \| "ph" \| "pl" \| "pt" \| "ru" \| "sa" \| "se" \| "sg" \| "tr" \| "tw" \| "us" \| "za")<br>`lang` (query "de-de" \| "en-ca" \| "en-gb" \| "en-in" \| "en-us" \| "fi-fi" \| "fr-ca" \| "fr-fr" \| "ja-jp" \| "pt-br" \| "sq-al" \| "sw-ke" \| "zh-tw")<br>`time_range` (query "any" \| "day" \| "week" \| "month" \| "year" \| "custom")<br>`date_from` (query String)<br>`date_to` (query String) | `ApiKeyAuth` | `BraveSearchResponse` | |
|
|
@@ -167,6 +168,10 @@ Total operations: `330`
|
|
|
167
168
|
| product_hunt | `product_hunt.makers` | `producthunt-makers` | `GET /producthunt/product/{id}/makers` | `id` (path String required)<br>`cursor` (query String) | `ApiKeyAuth` | `ProductHuntMakersResponse` | |
|
|
168
169
|
| product_hunt | `product_hunt.reviews` | `producthunt-reviews` | `GET /producthunt/product/{id}/reviews` | `id` (path String required) | `ApiKeyAuth` | `ProductHuntReviewsResponse` | |
|
|
169
170
|
| product_hunt | `product_hunt.search` | `producthunt-search` | `GET /producthunt/search` | `query` (query String required)<br>`type` (query "product" \| "user" \| "launch")<br>`page` (query Integer)<br>`featured` (query bool)<br>`topics` (query String) | `ApiKeyAuth` | `ProductHuntSearchResponse` | |
|
|
171
|
+
| reddit | `reddit.comments` | `reddit-comments` | `GET /reddit/comments/{id}` | `id` (path String required)<br>`sort` (query "confidence" \| "top" \| "new" \| "controversial" \| "old" \| "qa")<br>`limit` (query Integer)<br>`depth` (query Integer) | `ApiKeyAuth` | `RedditCommentsResponse` | |
|
|
172
|
+
| reddit | `reddit.post` | `reddit-post` | `GET /reddit/post/{id}` | `id` (path String required) | `ApiKeyAuth` | `RedditPostResponse` | |
|
|
173
|
+
| reddit | `reddit.search` | `reddit-search` | `GET /reddit/search` | `q` (query String required)<br>`subreddit` (query String)<br>`sort` (query "relevance" \| "hot" \| "new" \| "top" \| "comments")<br>`time` (query "hour" \| "day" \| "week" \| "month" \| "year" \| "all")<br>`limit` (query Integer)<br>`after` (query String) | `ApiKeyAuth` | `RedditSearchResponse` | |
|
|
174
|
+
| reddit | `reddit.subreddit_posts` | `reddit-subreddit-posts` | `GET /reddit/subreddit/{subreddit}/posts` | `subreddit` (path String required)<br>`sort` (query "hot" \| "new" \| "top" \| "rising")<br>`time` (query "hour" \| "day" \| "week" \| "month" \| "year" \| "all")<br>`limit` (query Integer)<br>`after` (query String) | `ApiKeyAuth` | `RedditSubredditPostsResponse` | |
|
|
170
175
|
| referrals | `referrals.click` | `referrals-click` | `POST /referrals/click` | `request` (body String required) | none | `ReferralsClickResponse` | |
|
|
171
176
|
| referrals | `referrals.me` | `referrals-me` | `GET /referrals/me` | none | `JWTAuth` | `ReferralsMeResponse` | |
|
|
172
177
|
| referrals | `referrals.me_events` | `referrals-me-events` | `GET /referrals/me/events` | `limit` (query Integer) | `JWTAuth` | `ReferralsMeEventsResponse` | |
|
|
@@ -274,10 +279,10 @@ Total operations: `330`
|
|
|
274
279
|
| trustpilot | `trustpilot.categories` | `trustpilot-categories` | `GET /trustpilot/categories` | none | `ApiKeyAuth` | `TrustpilotCategoriesResponse` | |
|
|
275
280
|
| trustpilot | `trustpilot.category_search` | `trustpilot-category-search` | `GET /trustpilot/categories/search` | `q` (query String required)<br>`country` (query String)<br>`locale` (query String)<br>`size` (query Integer) | `ApiKeyAuth` | `TrustpilotCategorySearchResponse` | |
|
|
276
281
|
| trustpilot | `trustpilot.category` | `trustpilot-category` | `GET /trustpilot/category/{slug}` | `slug` (path String required)<br>`page` (query Integer) | `ApiKeyAuth` | `TrustpilotCategoryResponse` | |
|
|
277
|
-
| usage | `usage.me_endpoints` | `usage-me-endpoints` | `GET /usage/me/endpoints` | `range` (query "period" \| "day" \| "week" \| "month" \| "custom")<br>`limit` (query Integer)<br>`from` (query String)<br>`to` (query String) | `
|
|
278
|
-
| usage | `usage.me_overview` | `usage-me-overview` | `GET /usage/me/overview` | `range` (query "period" \| "day" \| "week" \| "month" \| "custom")<br>`from` (query String)<br>`to` (query String) | `
|
|
279
|
-
| usage | `usage.me_recent_ips` | `usage-me-recent-ips` | `GET /usage/me/recent-ips` | `range` (query "period" \| "day" \| "week" \| "month" \| "custom")<br>`limit` (query Integer)<br>`from` (query String)<br>`to` (query String) | `
|
|
280
|
-
| usage | `usage.me_timeseries` | `usage-me-timeseries` | `GET /usage/me/timeseries` | `range` (query "period" \| "day" \| "week" \| "month" \| "custom")<br>`bucket` (query "hour" \| "day")<br>`endpoint` (query String)<br>`from` (query String)<br>`to` (query String) | `
|
|
282
|
+
| usage | `usage.me_endpoints` | `usage-me-endpoints` | `GET /usage/me/endpoints` | `range` (query "period" \| "day" \| "week" \| "month" \| "custom")<br>`limit` (query Integer)<br>`from` (query String)<br>`to` (query String) | `ApiKeyAuth` | `UsageMeEndpointsResponse` | |
|
|
283
|
+
| usage | `usage.me_overview` | `usage-me-overview` | `GET /usage/me/overview` | `range` (query "period" \| "day" \| "week" \| "month" \| "custom")<br>`from` (query String)<br>`to` (query String) | `ApiKeyAuth` | `UsageMeOverviewResponse` | |
|
|
284
|
+
| usage | `usage.me_recent_ips` | `usage-me-recent-ips` | `GET /usage/me/recent-ips` | `range` (query "period" \| "day" \| "week" \| "month" \| "custom")<br>`limit` (query Integer)<br>`from` (query String)<br>`to` (query String) | `ApiKeyAuth` | `UsageMeRecentIpsResponse` | |
|
|
285
|
+
| usage | `usage.me_timeseries` | `usage-me-timeseries` | `GET /usage/me/timeseries` | `range` (query "period" \| "day" \| "week" \| "month" \| "custom")<br>`bucket` (query "hour" \| "day")<br>`endpoint` (query String)<br>`from` (query String)<br>`to` (query String) | `ApiKeyAuth` | `UsageMeTimeseriesResponse` | |
|
|
281
286
|
| user | `user.me` | `user-me` | `GET /user/me` | none | `JWTAuth` | `UserMeResponse` | |
|
|
282
287
|
| user | `user.me_api_keys` | `user-me-api-keys` | `GET /user/me/api-keys` | none | `JWTAuth` | `UserMeApiKeysResponse` | |
|
|
283
288
|
| user | `user.me_api_keys_rotate` | `user-me-api-keys-rotate` | `POST /user/me/api-keys/rotate` | none | `JWTAuth` | `UserMeApiKeysRotateResponse` | |
|
|
@@ -287,6 +292,7 @@ Total operations: `330`
|
|
|
287
292
|
| yahoo_finance | `yahoo_finance.download` | `yahoo-finance-download` | `POST /yahoo-finance/download` | `request` (body String required) | `ApiKeyAuth` | `YahooFinanceDownloadResponse` | |
|
|
288
293
|
| yahoo_finance | `yahoo_finance.industries` | `yahoo-finance-industries` | `GET /yahoo-finance/industries` | none | `ApiKeyAuth` | `YahooFinanceIndustriesResponse` | |
|
|
289
294
|
| yahoo_finance | `yahoo_finance.industry` | `yahoo-finance-industry` | `GET /yahoo-finance/industries/{key}` | `key` (path String required) | `ApiKeyAuth` | `YahooFinanceIndustryResponse` | |
|
|
295
|
+
| yahoo_finance | `yahoo_finance.lookup` | `yahoo-finance-lookup` | `GET /yahoo-finance/lookup` | `query` (query String required)<br>`type` (query "all" \| "equity" \| "etf" \| "mutualfund" \| "index" \| "future" \| "currency" \| "cryptocurrency")<br>`count` (query Integer)<br>`start` (query Integer) | `ApiKeyAuth` | `YahooFinanceLookupResponse` | |
|
|
290
296
|
| yahoo_finance | `yahoo_finance.market_status` | `yahoo-finance-market-status` | `GET /yahoo-finance/market/{market}/status` | `market` (path String required) | `ApiKeyAuth` | `YahooFinanceMarketStatusResponse` | |
|
|
291
297
|
| yahoo_finance | `yahoo_finance.market_summary` | `yahoo-finance-market-summary` | `GET /yahoo-finance/market/{market}/summary` | `market` (path String required) | `ApiKeyAuth` | `YahooFinanceMarketSummaryResponse` | |
|
|
292
298
|
| yahoo_finance | `yahoo_finance.screener_custom` | `yahoo-finance-screener-custom` | `POST /yahoo-finance/screener` | `request` (body String required) | `ApiKeyAuth` | `YahooFinanceScreenerCustomResponse` | |
|
data/docs/recipes.md
CHANGED
|
@@ -17,6 +17,15 @@ Crawlora.client(jwt_token: "eyJ…")
|
|
|
17
17
|
Both fall back to environment variables: `CRAWLORA_API_KEY` and
|
|
18
18
|
`CRAWLORA_BASE_URL`.
|
|
19
19
|
|
|
20
|
+
## Reddit and Brand
|
|
21
|
+
|
|
22
|
+
Newer platforms are grouped like every other endpoint:
|
|
23
|
+
|
|
24
|
+
```ruby
|
|
25
|
+
posts = client.reddit.search(q: "ruby", subreddit: "programming")
|
|
26
|
+
brand = client.brand.retrieve(domain: "stripe.com")
|
|
27
|
+
```
|
|
28
|
+
|
|
20
29
|
## Retries and Retry-After
|
|
21
30
|
|
|
22
31
|
```ruby
|
data/lib/crawlora/operations.rb
CHANGED
|
@@ -1300,6 +1300,52 @@ module Crawlora
|
|
|
1300
1300
|
],
|
|
1301
1301
|
"paginatable" => true
|
|
1302
1302
|
},
|
|
1303
|
+
"brand-retrieve" => {
|
|
1304
|
+
"id" => "brand-retrieve",
|
|
1305
|
+
"method" => "GET",
|
|
1306
|
+
"path" => "/brand/retrieve",
|
|
1307
|
+
"pathParams" => [],
|
|
1308
|
+
"queryParams" => [
|
|
1309
|
+
{
|
|
1310
|
+
"name" => "domain",
|
|
1311
|
+
"in" => "query",
|
|
1312
|
+
"type" => "string",
|
|
1313
|
+
"required" => true
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
"name" => "force_language",
|
|
1317
|
+
"in" => "query",
|
|
1318
|
+
"type" => "string"
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
"name" => "maxSpeed",
|
|
1322
|
+
"in" => "query",
|
|
1323
|
+
"type" => "boolean"
|
|
1324
|
+
},
|
|
1325
|
+
{
|
|
1326
|
+
"name" => "maxAgeMs",
|
|
1327
|
+
"in" => "query",
|
|
1328
|
+
"type" => "integer"
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
"name" => "timeoutMS",
|
|
1332
|
+
"in" => "query",
|
|
1333
|
+
"type" => "integer"
|
|
1334
|
+
}
|
|
1335
|
+
],
|
|
1336
|
+
"formParams" => [],
|
|
1337
|
+
"bodyParam" => nil,
|
|
1338
|
+
"bodyRequired" => false,
|
|
1339
|
+
"consumes" => [
|
|
1340
|
+
"application/json"
|
|
1341
|
+
],
|
|
1342
|
+
"produces" => [
|
|
1343
|
+
"application/json"
|
|
1344
|
+
],
|
|
1345
|
+
"security" => [
|
|
1346
|
+
"ApiKeyAuth"
|
|
1347
|
+
]
|
|
1348
|
+
},
|
|
1303
1349
|
"brave-images" => {
|
|
1304
1350
|
"id" => "brave-images",
|
|
1305
1351
|
"method" => "GET",
|
|
@@ -7209,6 +7255,194 @@ module Crawlora
|
|
|
7209
7255
|
],
|
|
7210
7256
|
"security" => []
|
|
7211
7257
|
},
|
|
7258
|
+
"reddit-comments" => {
|
|
7259
|
+
"id" => "reddit-comments",
|
|
7260
|
+
"method" => "GET",
|
|
7261
|
+
"path" => "/reddit/comments/{id}",
|
|
7262
|
+
"pathParams" => [
|
|
7263
|
+
"id"
|
|
7264
|
+
],
|
|
7265
|
+
"queryParams" => [
|
|
7266
|
+
{
|
|
7267
|
+
"name" => "sort",
|
|
7268
|
+
"in" => "query",
|
|
7269
|
+
"type" => "string",
|
|
7270
|
+
"enum" => [
|
|
7271
|
+
"confidence",
|
|
7272
|
+
"top",
|
|
7273
|
+
"new",
|
|
7274
|
+
"controversial",
|
|
7275
|
+
"old",
|
|
7276
|
+
"qa"
|
|
7277
|
+
]
|
|
7278
|
+
},
|
|
7279
|
+
{
|
|
7280
|
+
"name" => "limit",
|
|
7281
|
+
"in" => "query",
|
|
7282
|
+
"type" => "integer"
|
|
7283
|
+
},
|
|
7284
|
+
{
|
|
7285
|
+
"name" => "depth",
|
|
7286
|
+
"in" => "query",
|
|
7287
|
+
"type" => "integer"
|
|
7288
|
+
}
|
|
7289
|
+
],
|
|
7290
|
+
"formParams" => [],
|
|
7291
|
+
"bodyParam" => nil,
|
|
7292
|
+
"bodyRequired" => false,
|
|
7293
|
+
"consumes" => [
|
|
7294
|
+
"application/json"
|
|
7295
|
+
],
|
|
7296
|
+
"produces" => [
|
|
7297
|
+
"application/json"
|
|
7298
|
+
],
|
|
7299
|
+
"security" => [
|
|
7300
|
+
"ApiKeyAuth"
|
|
7301
|
+
]
|
|
7302
|
+
},
|
|
7303
|
+
"reddit-post" => {
|
|
7304
|
+
"id" => "reddit-post",
|
|
7305
|
+
"method" => "GET",
|
|
7306
|
+
"path" => "/reddit/post/{id}",
|
|
7307
|
+
"pathParams" => [
|
|
7308
|
+
"id"
|
|
7309
|
+
],
|
|
7310
|
+
"queryParams" => [],
|
|
7311
|
+
"formParams" => [],
|
|
7312
|
+
"bodyParam" => nil,
|
|
7313
|
+
"bodyRequired" => false,
|
|
7314
|
+
"consumes" => [
|
|
7315
|
+
"application/json"
|
|
7316
|
+
],
|
|
7317
|
+
"produces" => [
|
|
7318
|
+
"application/json"
|
|
7319
|
+
],
|
|
7320
|
+
"security" => [
|
|
7321
|
+
"ApiKeyAuth"
|
|
7322
|
+
]
|
|
7323
|
+
},
|
|
7324
|
+
"reddit-search" => {
|
|
7325
|
+
"id" => "reddit-search",
|
|
7326
|
+
"method" => "GET",
|
|
7327
|
+
"path" => "/reddit/search",
|
|
7328
|
+
"pathParams" => [],
|
|
7329
|
+
"queryParams" => [
|
|
7330
|
+
{
|
|
7331
|
+
"name" => "q",
|
|
7332
|
+
"in" => "query",
|
|
7333
|
+
"type" => "string",
|
|
7334
|
+
"required" => true
|
|
7335
|
+
},
|
|
7336
|
+
{
|
|
7337
|
+
"name" => "subreddit",
|
|
7338
|
+
"in" => "query",
|
|
7339
|
+
"type" => "string"
|
|
7340
|
+
},
|
|
7341
|
+
{
|
|
7342
|
+
"name" => "sort",
|
|
7343
|
+
"in" => "query",
|
|
7344
|
+
"type" => "string",
|
|
7345
|
+
"enum" => [
|
|
7346
|
+
"relevance",
|
|
7347
|
+
"hot",
|
|
7348
|
+
"new",
|
|
7349
|
+
"top",
|
|
7350
|
+
"comments"
|
|
7351
|
+
]
|
|
7352
|
+
},
|
|
7353
|
+
{
|
|
7354
|
+
"name" => "time",
|
|
7355
|
+
"in" => "query",
|
|
7356
|
+
"type" => "string",
|
|
7357
|
+
"enum" => [
|
|
7358
|
+
"hour",
|
|
7359
|
+
"day",
|
|
7360
|
+
"week",
|
|
7361
|
+
"month",
|
|
7362
|
+
"year",
|
|
7363
|
+
"all"
|
|
7364
|
+
]
|
|
7365
|
+
},
|
|
7366
|
+
{
|
|
7367
|
+
"name" => "limit",
|
|
7368
|
+
"in" => "query",
|
|
7369
|
+
"type" => "integer"
|
|
7370
|
+
},
|
|
7371
|
+
{
|
|
7372
|
+
"name" => "after",
|
|
7373
|
+
"in" => "query",
|
|
7374
|
+
"type" => "string"
|
|
7375
|
+
}
|
|
7376
|
+
],
|
|
7377
|
+
"formParams" => [],
|
|
7378
|
+
"bodyParam" => nil,
|
|
7379
|
+
"bodyRequired" => false,
|
|
7380
|
+
"consumes" => [
|
|
7381
|
+
"application/json"
|
|
7382
|
+
],
|
|
7383
|
+
"produces" => [
|
|
7384
|
+
"application/json"
|
|
7385
|
+
],
|
|
7386
|
+
"security" => [
|
|
7387
|
+
"ApiKeyAuth"
|
|
7388
|
+
]
|
|
7389
|
+
},
|
|
7390
|
+
"reddit-subreddit-posts" => {
|
|
7391
|
+
"id" => "reddit-subreddit-posts",
|
|
7392
|
+
"method" => "GET",
|
|
7393
|
+
"path" => "/reddit/subreddit/{subreddit}/posts",
|
|
7394
|
+
"pathParams" => [
|
|
7395
|
+
"subreddit"
|
|
7396
|
+
],
|
|
7397
|
+
"queryParams" => [
|
|
7398
|
+
{
|
|
7399
|
+
"name" => "sort",
|
|
7400
|
+
"in" => "query",
|
|
7401
|
+
"type" => "string",
|
|
7402
|
+
"enum" => [
|
|
7403
|
+
"hot",
|
|
7404
|
+
"new",
|
|
7405
|
+
"top",
|
|
7406
|
+
"rising"
|
|
7407
|
+
]
|
|
7408
|
+
},
|
|
7409
|
+
{
|
|
7410
|
+
"name" => "time",
|
|
7411
|
+
"in" => "query",
|
|
7412
|
+
"type" => "string",
|
|
7413
|
+
"enum" => [
|
|
7414
|
+
"hour",
|
|
7415
|
+
"day",
|
|
7416
|
+
"week",
|
|
7417
|
+
"month",
|
|
7418
|
+
"year",
|
|
7419
|
+
"all"
|
|
7420
|
+
]
|
|
7421
|
+
},
|
|
7422
|
+
{
|
|
7423
|
+
"name" => "limit",
|
|
7424
|
+
"in" => "query",
|
|
7425
|
+
"type" => "integer"
|
|
7426
|
+
},
|
|
7427
|
+
{
|
|
7428
|
+
"name" => "after",
|
|
7429
|
+
"in" => "query",
|
|
7430
|
+
"type" => "string"
|
|
7431
|
+
}
|
|
7432
|
+
],
|
|
7433
|
+
"formParams" => [],
|
|
7434
|
+
"bodyParam" => nil,
|
|
7435
|
+
"bodyRequired" => false,
|
|
7436
|
+
"consumes" => [
|
|
7437
|
+
"application/json"
|
|
7438
|
+
],
|
|
7439
|
+
"produces" => [
|
|
7440
|
+
"application/json"
|
|
7441
|
+
],
|
|
7442
|
+
"security" => [
|
|
7443
|
+
"ApiKeyAuth"
|
|
7444
|
+
]
|
|
7445
|
+
},
|
|
7212
7446
|
"referrals-click" => {
|
|
7213
7447
|
"id" => "referrals-click",
|
|
7214
7448
|
"method" => "POST",
|
|
@@ -11345,7 +11579,7 @@ module Crawlora
|
|
|
11345
11579
|
"application/json"
|
|
11346
11580
|
],
|
|
11347
11581
|
"security" => [
|
|
11348
|
-
"
|
|
11582
|
+
"ApiKeyAuth"
|
|
11349
11583
|
]
|
|
11350
11584
|
},
|
|
11351
11585
|
"usage-me-overview" => {
|
|
@@ -11387,7 +11621,7 @@ module Crawlora
|
|
|
11387
11621
|
"application/json"
|
|
11388
11622
|
],
|
|
11389
11623
|
"security" => [
|
|
11390
|
-
"
|
|
11624
|
+
"ApiKeyAuth"
|
|
11391
11625
|
]
|
|
11392
11626
|
},
|
|
11393
11627
|
"usage-me-recent-ips" => {
|
|
@@ -11434,7 +11668,7 @@ module Crawlora
|
|
|
11434
11668
|
"application/json"
|
|
11435
11669
|
],
|
|
11436
11670
|
"security" => [
|
|
11437
|
-
"
|
|
11671
|
+
"ApiKeyAuth"
|
|
11438
11672
|
]
|
|
11439
11673
|
},
|
|
11440
11674
|
"usage-me-timeseries" => {
|
|
@@ -11490,7 +11724,7 @@ module Crawlora
|
|
|
11490
11724
|
"application/json"
|
|
11491
11725
|
],
|
|
11492
11726
|
"security" => [
|
|
11493
|
-
"
|
|
11727
|
+
"ApiKeyAuth"
|
|
11494
11728
|
]
|
|
11495
11729
|
},
|
|
11496
11730
|
"user-me" => {
|
|
@@ -11705,6 +11939,61 @@ module Crawlora
|
|
|
11705
11939
|
"ApiKeyAuth"
|
|
11706
11940
|
]
|
|
11707
11941
|
},
|
|
11942
|
+
"yahoo-finance-lookup" => {
|
|
11943
|
+
"id" => "yahoo-finance-lookup",
|
|
11944
|
+
"method" => "GET",
|
|
11945
|
+
"path" => "/yahoo-finance/lookup",
|
|
11946
|
+
"pathParams" => [],
|
|
11947
|
+
"queryParams" => [
|
|
11948
|
+
{
|
|
11949
|
+
"name" => "query",
|
|
11950
|
+
"in" => "query",
|
|
11951
|
+
"type" => "string",
|
|
11952
|
+
"required" => true
|
|
11953
|
+
},
|
|
11954
|
+
{
|
|
11955
|
+
"name" => "type",
|
|
11956
|
+
"in" => "query",
|
|
11957
|
+
"type" => "string",
|
|
11958
|
+
"enum" => [
|
|
11959
|
+
"all",
|
|
11960
|
+
"equity",
|
|
11961
|
+
"etf",
|
|
11962
|
+
"mutualfund",
|
|
11963
|
+
"index",
|
|
11964
|
+
"future",
|
|
11965
|
+
"currency",
|
|
11966
|
+
"cryptocurrency"
|
|
11967
|
+
]
|
|
11968
|
+
},
|
|
11969
|
+
{
|
|
11970
|
+
"name" => "count",
|
|
11971
|
+
"in" => "query",
|
|
11972
|
+
"type" => "integer"
|
|
11973
|
+
},
|
|
11974
|
+
{
|
|
11975
|
+
"name" => "start",
|
|
11976
|
+
"in" => "query",
|
|
11977
|
+
"type" => "integer"
|
|
11978
|
+
}
|
|
11979
|
+
],
|
|
11980
|
+
"formParams" => [],
|
|
11981
|
+
"bodyParam" => nil,
|
|
11982
|
+
"bodyRequired" => false,
|
|
11983
|
+
"consumes" => [
|
|
11984
|
+
"application/json"
|
|
11985
|
+
],
|
|
11986
|
+
"produces" => [
|
|
11987
|
+
"application/json"
|
|
11988
|
+
],
|
|
11989
|
+
"security" => [
|
|
11990
|
+
"ApiKeyAuth"
|
|
11991
|
+
],
|
|
11992
|
+
"paginatable" => true,
|
|
11993
|
+
"cursorParams" => [
|
|
11994
|
+
"start"
|
|
11995
|
+
]
|
|
11996
|
+
},
|
|
11708
11997
|
"yahoo-finance-market-status" => {
|
|
11709
11998
|
"id" => "yahoo-finance-market-status",
|
|
11710
11999
|
"method" => "GET",
|
|
@@ -13155,6 +13444,9 @@ module Crawlora
|
|
|
13155
13444
|
"suggest" => "bing-suggest",
|
|
13156
13445
|
"videos" => "bing-videos"
|
|
13157
13446
|
},
|
|
13447
|
+
"brand" => {
|
|
13448
|
+
"retrieve" => "brand-retrieve"
|
|
13449
|
+
},
|
|
13158
13450
|
"brave" => {
|
|
13159
13451
|
"images" => "brave-images",
|
|
13160
13452
|
"news" => "brave-news",
|
|
@@ -13305,6 +13597,12 @@ module Crawlora
|
|
|
13305
13597
|
"reviews" => "producthunt-reviews",
|
|
13306
13598
|
"search" => "producthunt-search"
|
|
13307
13599
|
},
|
|
13600
|
+
"reddit" => {
|
|
13601
|
+
"comments" => "reddit-comments",
|
|
13602
|
+
"post" => "reddit-post",
|
|
13603
|
+
"search" => "reddit-search",
|
|
13604
|
+
"subreddit_posts" => "reddit-subreddit-posts"
|
|
13605
|
+
},
|
|
13308
13606
|
"referrals" => {
|
|
13309
13607
|
"click" => "referrals-click",
|
|
13310
13608
|
"me" => "referrals-me",
|
|
@@ -13448,6 +13746,7 @@ module Crawlora
|
|
|
13448
13746
|
"download" => "yahoo-finance-download",
|
|
13449
13747
|
"industries" => "yahoo-finance-industries",
|
|
13450
13748
|
"industry" => "yahoo-finance-industry",
|
|
13749
|
+
"lookup" => "yahoo-finance-lookup",
|
|
13451
13750
|
"market_status" => "yahoo-finance-market-status",
|
|
13452
13751
|
"market_summary" => "yahoo-finance-market-summary",
|
|
13453
13752
|
"screener_custom" => "yahoo-finance-screener-custom",
|
|
@@ -13504,7 +13803,7 @@ module Crawlora
|
|
|
13504
13803
|
}
|
|
13505
13804
|
}.freeze
|
|
13506
13805
|
|
|
13507
|
-
OPERATION_COUNT =
|
|
13806
|
+
OPERATION_COUNT = 336
|
|
13508
13807
|
|
|
13509
13808
|
module OperationId
|
|
13510
13809
|
AIRBNB_ROOM = "airbnb-room"
|
|
@@ -13542,6 +13841,7 @@ module Crawlora
|
|
|
13542
13841
|
BING_SEARCH = "bing-search"
|
|
13543
13842
|
BING_SUGGEST = "bing-suggest"
|
|
13544
13843
|
BING_VIDEOS = "bing-videos"
|
|
13844
|
+
BRAND_RETRIEVE = "brand-retrieve"
|
|
13545
13845
|
BRAVE_IMAGES = "brave-images"
|
|
13546
13846
|
BRAVE_NEWS = "brave-news"
|
|
13547
13847
|
BRAVE_SEARCH = "brave-search"
|
|
@@ -13668,6 +13968,10 @@ module Crawlora
|
|
|
13668
13968
|
PRODUCT_HUNT_PRODUCT = "producthunt-product"
|
|
13669
13969
|
PRODUCT_HUNT_REVIEWS = "producthunt-reviews"
|
|
13670
13970
|
PRODUCT_HUNT_SEARCH = "producthunt-search"
|
|
13971
|
+
REDDIT_COMMENTS = "reddit-comments"
|
|
13972
|
+
REDDIT_POST = "reddit-post"
|
|
13973
|
+
REDDIT_SEARCH = "reddit-search"
|
|
13974
|
+
REDDIT_SUBREDDIT_POSTS = "reddit-subreddit-posts"
|
|
13671
13975
|
REFERRALS_CLICK = "referrals-click"
|
|
13672
13976
|
REFERRALS_ME = "referrals-me"
|
|
13673
13977
|
REFERRALS_ME_EVENTS = "referrals-me-events"
|
|
@@ -13788,6 +14092,7 @@ module Crawlora
|
|
|
13788
14092
|
YAHOO_FINANCE_DOWNLOAD = "yahoo-finance-download"
|
|
13789
14093
|
YAHOO_FINANCE_INDUSTRIES = "yahoo-finance-industries"
|
|
13790
14094
|
YAHOO_FINANCE_INDUSTRY = "yahoo-finance-industry"
|
|
14095
|
+
YAHOO_FINANCE_LOOKUP = "yahoo-finance-lookup"
|
|
13791
14096
|
YAHOO_FINANCE_MARKET_STATUS = "yahoo-finance-market-status"
|
|
13792
14097
|
YAHOO_FINANCE_MARKET_SUMMARY = "yahoo-finance-market-summary"
|
|
13793
14098
|
YAHOO_FINANCE_SCREENER = "yahoo-finance-screener"
|
data/lib/crawlora/version.rb
CHANGED
|
@@ -5,5 +5,5 @@ module Crawlora
|
|
|
5
5
|
# as the Go/Java/PHP SDKs). RubyGems treats it as a prerelease and normalizes
|
|
6
6
|
# the published gem version (the `-` becomes `.pre.`, e.g. `1.5.0.pre.sdk.N`).
|
|
7
7
|
# Bumped across all SDK repos by the API repo's tools/sdkgen/bump_version.py.
|
|
8
|
-
VERSION = "1.
|
|
8
|
+
VERSION = "1.6.0-sdk.1"
|
|
9
9
|
end
|