crawlora 1.40.0.pre.sdk.1 → 1.41.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 +4 -0
- data/docs/operations.md +2 -1
- data/lib/crawlora/operations.rb +22 -1
- data/lib/crawlora/version.rb +1 -1
- data/openapi/public.json +139 -0
- data/sig/crawlora.rbs +1 -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: 3972a7d0d9bfee838874a39c79c4ced7d8fa320a7f017cd69871a56689562251
|
|
4
|
+
data.tar.gz: 181d51bb9655907c67fc7d52009009e198f7e4836647b8252a8fb05602ae9ff6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 392f724c45ca939d830232b9aed685649f6294d0029ec76decf1669066c9de07543beab1f4e7c794d62b3a0b7be5c71c8d80776688dea747f74fde0edf5e8218
|
|
7
|
+
data.tar.gz: 8af22d84bef5ceaca1a8b786c5b95558f852e69dadc99c5e215903c55cf403dd0684f356783d210fd3126c592b53f47e024117da813d68c3e366d97bb0609ee8
|
data/CHANGELOG.md
CHANGED
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: `1939`
|
|
6
6
|
|
|
7
7
|
| Group | SDK method | Operation ID | HTTP | Params | Auth | Response | Notes |
|
|
8
8
|
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
@@ -360,6 +360,7 @@ Total operations: `1938`
|
|
|
360
360
|
| congress | `congress.stock_disclosures` | `congress-stock-disclosures` | `GET /congress/stock-disclosures` | `chamber` (query "house" \| "senate")<br>`member` (query String)<br>`first_name` (query String)<br>`last_name` (query String)<br>`ticker` (query String)<br>`state` (query "AK" \| "AL" \| "AR" \| "AS" \| "AZ" \| "CA" \| "CO" \| "CT" \| "DC" \| "DE" \| "FL" \| "FM" \| "GA" \| "GU" \| "HI" \| "IA" \| "ID" \| "IL" \| "IN" \| "KS" \| "KY" \| "LA" \| "MA" \| "MD" \| "ME" \| "MH" \| "MI" \| "MN" \| "MO" \| "MP" \| "MS" \| "MT" \| "NC" \| "ND" \| "NE" \| "NH" \| "NJ" \| "NM" \| "NV" \| "NY" \| "OH" \| "OK" \| "OR" \| "PA" \| "PR" \| "PW" \| "RI" \| "SC" \| "SD" \| "TN" \| "TX" \| "UT" \| "VA" \| "VI" \| "VT" \| "WA" \| "WI" \| "WV" \| "WY")<br>`senator_state` (query "AK" \| "AL" \| "AR" \| "AS" \| "AZ" \| "CA" \| "CO" \| "CT" \| "DC" \| "DE" \| "FL" \| "FM" \| "GA" \| "GU" \| "HI" \| "IA" \| "ID" \| "IL" \| "IN" \| "KS" \| "KY" \| "LA" \| "MA" \| "MD" \| "ME" \| "MH" \| "MI" \| "MN" \| "MO" \| "MP" \| "MS" \| "MT" \| "NC" \| "ND" \| "NE" \| "NH" \| "NJ" \| "NM" \| "NV" \| "NY" \| "OH" \| "OK" \| "OR" \| "PA" \| "PR" \| "PW" \| "RI" \| "SC" \| "SD" \| "TN" \| "TX" \| "UT" \| "VA" \| "VI" \| "VT" \| "WA" \| "WI" \| "WV" \| "WY")<br>`candidate_state` (query "AK" \| "AL" \| "AR" \| "AS" \| "AZ" \| "CA" \| "CO" \| "CT" \| "DC" \| "DE" \| "FL" \| "FM" \| "GA" \| "GU" \| "HI" \| "IA" \| "ID" \| "IL" \| "IN" \| "KS" \| "KY" \| "LA" \| "MA" \| "MD" \| "ME" \| "MH" \| "MI" \| "MN" \| "MO" \| "MP" \| "MS" \| "MT" \| "NC" \| "ND" \| "NE" \| "NH" \| "NJ" \| "NM" \| "NV" \| "NY" \| "OH" \| "OK" \| "OR" \| "PA" \| "PR" \| "PW" \| "RI" \| "SC" \| "SD" \| "TN" \| "TX" \| "UT" \| "VA" \| "VI" \| "VT" \| "WA" \| "WI" \| "WV" \| "WY")<br>`district` (query String)<br>`filer_type` (query "member" \| "candidate" \| "all" \| "senator" \| "former_senator")<br>`election_year` (query String)<br>`report_type` (query "annual" \| "periodic_transaction" \| "due_date_extension" \| "blind_trust" \| "other")<br>`from` (query String)<br>`to` (query String)<br>`sort` (query "name_asc" \| "name_desc" \| "office_asc" \| "office_desc" \| "filing_year_asc" \| "filing_year_desc")<br>`page` (query Integer)<br>`limit` (query Integer) | `ApiKeyAuth` | `CongressStockDisclosuresResponse` | |
|
|
361
361
|
| web | `web.contact` | `contact` | `POST /contact` | `option` (body String required) | `ApiKeyAuth` | `WebContactResponse` | |
|
|
362
362
|
| web | `web.antibot_check` | `antibot-check` | `POST /diagnostics/antibot-check` | `request` (body String required) | `ApiKeyAuth` | `WebAntibotCheckResponse` | |
|
|
363
|
+
| web | `web.email_verify` | `email-verify` | `POST /email/verify` | `option` (body String required) | `ApiKeyAuth` | `WebEmailVerifyResponse` | |
|
|
363
364
|
| web | `web.extract` | `extract` | `POST /extract` | `extractOption` (body String required) | `ApiKeyAuth` | `WebExtractResponse` | |
|
|
364
365
|
| web | `web.scrape` | `web-scrape` | `POST /web/scrape` | `scrapeOption` (body String required) | `ApiKeyAuth` | `WebScrapeResponse` | |
|
|
365
366
|
| web | `web.techstack` | `web-techstack` | `POST /web/techstack` | `request` (body String required) | `ApiKeyAuth` | `WebTechstackResponse` | |
|
data/lib/crawlora/operations.rb
CHANGED
|
@@ -27559,6 +27559,25 @@ module Crawlora
|
|
|
27559
27559
|
],
|
|
27560
27560
|
"paginatable" => true
|
|
27561
27561
|
},
|
|
27562
|
+
"email-verify" => {
|
|
27563
|
+
"id" => "email-verify",
|
|
27564
|
+
"method" => "POST",
|
|
27565
|
+
"path" => "/email/verify",
|
|
27566
|
+
"pathParams" => [],
|
|
27567
|
+
"queryParams" => [],
|
|
27568
|
+
"formParams" => [],
|
|
27569
|
+
"bodyParam" => "option",
|
|
27570
|
+
"bodyRequired" => true,
|
|
27571
|
+
"consumes" => [
|
|
27572
|
+
"application/json"
|
|
27573
|
+
],
|
|
27574
|
+
"produces" => [
|
|
27575
|
+
"application/json"
|
|
27576
|
+
],
|
|
27577
|
+
"security" => [
|
|
27578
|
+
"ApiKeyAuth"
|
|
27579
|
+
]
|
|
27580
|
+
},
|
|
27562
27581
|
"espn-athlete" => {
|
|
27563
27582
|
"id" => "espn-athlete",
|
|
27564
27583
|
"method" => "GET",
|
|
@@ -74920,6 +74939,7 @@ module Crawlora
|
|
|
74920
74939
|
"web" => {
|
|
74921
74940
|
"contact" => "contact",
|
|
74922
74941
|
"antibot_check" => "antibot-check",
|
|
74942
|
+
"email_verify" => "email-verify",
|
|
74923
74943
|
"extract" => "extract",
|
|
74924
74944
|
"scrape" => "web-scrape",
|
|
74925
74945
|
"techstack" => "web-techstack"
|
|
@@ -76855,7 +76875,7 @@ module Crawlora
|
|
|
76855
76875
|
}
|
|
76856
76876
|
}.freeze
|
|
76857
76877
|
|
|
76858
|
-
OPERATION_COUNT =
|
|
76878
|
+
OPERATION_COUNT = 1939
|
|
76859
76879
|
|
|
76860
76880
|
module OperationId
|
|
76861
76881
|
ACCOR_AMENITIES = "accor-amenities"
|
|
@@ -78617,6 +78637,7 @@ module Crawlora
|
|
|
78617
78637
|
WAYFAIR_PRODUCT = "wayfair-product"
|
|
78618
78638
|
WEB_ANTIBOT_CHECK = "antibot-check"
|
|
78619
78639
|
WEB_CONTACT = "contact"
|
|
78640
|
+
WEB_EMAIL_VERIFY = "email-verify"
|
|
78620
78641
|
WEB_EXTRACT = "extract"
|
|
78621
78642
|
WEB_SCRAPE = "web-scrape"
|
|
78622
78643
|
WEB_TECHSTACK = "web-techstack"
|
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.41.0-sdk.1"
|
|
9
9
|
end
|
data/openapi/public.json
CHANGED
|
@@ -29622,6 +29622,71 @@
|
|
|
29622
29622
|
},
|
|
29623
29623
|
"type": "object"
|
|
29624
29624
|
},
|
|
29625
|
+
"contact.VerifiedAddress": {
|
|
29626
|
+
"properties": {
|
|
29627
|
+
"address": {
|
|
29628
|
+
"example": "jane@acme.com",
|
|
29629
|
+
"type": "string"
|
|
29630
|
+
},
|
|
29631
|
+
"status": {
|
|
29632
|
+
"enum": [
|
|
29633
|
+
"verified",
|
|
29634
|
+
"risky",
|
|
29635
|
+
"unverified",
|
|
29636
|
+
"invalid"
|
|
29637
|
+
],
|
|
29638
|
+
"example": "verified",
|
|
29639
|
+
"type": "string"
|
|
29640
|
+
},
|
|
29641
|
+
"type": {
|
|
29642
|
+
"enum": [
|
|
29643
|
+
"personal",
|
|
29644
|
+
"generic",
|
|
29645
|
+
"role"
|
|
29646
|
+
],
|
|
29647
|
+
"example": "personal",
|
|
29648
|
+
"type": "string"
|
|
29649
|
+
}
|
|
29650
|
+
},
|
|
29651
|
+
"type": "object"
|
|
29652
|
+
},
|
|
29653
|
+
"contact.VerifyRequest": {
|
|
29654
|
+
"properties": {
|
|
29655
|
+
"emails": {
|
|
29656
|
+
"example": [
|
|
29657
|
+
"jane@acme.com"
|
|
29658
|
+
],
|
|
29659
|
+
"items": {
|
|
29660
|
+
"type": "string"
|
|
29661
|
+
},
|
|
29662
|
+
"type": "array"
|
|
29663
|
+
}
|
|
29664
|
+
},
|
|
29665
|
+
"required": [
|
|
29666
|
+
"emails"
|
|
29667
|
+
],
|
|
29668
|
+
"type": "object"
|
|
29669
|
+
},
|
|
29670
|
+
"contact.VerifyResponse": {
|
|
29671
|
+
"properties": {
|
|
29672
|
+
"checked": {
|
|
29673
|
+
"example": 3,
|
|
29674
|
+
"type": "integer"
|
|
29675
|
+
},
|
|
29676
|
+
"results": {
|
|
29677
|
+
"items": {
|
|
29678
|
+
"$ref": "#/definitions/contact.VerifiedAddress"
|
|
29679
|
+
},
|
|
29680
|
+
"type": "array"
|
|
29681
|
+
},
|
|
29682
|
+
"smtp_enabled": {
|
|
29683
|
+
"description": "SMTPEnabled reports whether mailbox probing was available for this call.\nWhen false nothing can be reported \"verified\", so a caller can tell an\nundeliverable-looking result from an unverifiable one.",
|
|
29684
|
+
"example": true,
|
|
29685
|
+
"type": "boolean"
|
|
29686
|
+
}
|
|
29687
|
+
},
|
|
29688
|
+
"type": "object"
|
|
29689
|
+
},
|
|
29625
29690
|
"contact.contactResponseDoc": {
|
|
29626
29691
|
"properties": {
|
|
29627
29692
|
"code": {
|
|
@@ -29638,6 +29703,22 @@
|
|
|
29638
29703
|
},
|
|
29639
29704
|
"type": "object"
|
|
29640
29705
|
},
|
|
29706
|
+
"contact.verifyResponseDoc": {
|
|
29707
|
+
"properties": {
|
|
29708
|
+
"code": {
|
|
29709
|
+
"example": 200,
|
|
29710
|
+
"type": "integer"
|
|
29711
|
+
},
|
|
29712
|
+
"data": {
|
|
29713
|
+
"$ref": "#/definitions/contact.VerifyResponse"
|
|
29714
|
+
},
|
|
29715
|
+
"msg": {
|
|
29716
|
+
"example": "OK",
|
|
29717
|
+
"type": "string"
|
|
29718
|
+
}
|
|
29719
|
+
},
|
|
29720
|
+
"type": "object"
|
|
29721
|
+
},
|
|
29641
29722
|
"costco.CategoriesResponse": {
|
|
29642
29723
|
"properties": {
|
|
29643
29724
|
"categories": {
|
|
@@ -200981,6 +201062,64 @@
|
|
|
200981
201062
|
]
|
|
200982
201063
|
}
|
|
200983
201064
|
},
|
|
201065
|
+
"/email/verify": {
|
|
201066
|
+
"post": {
|
|
201067
|
+
"consumes": [
|
|
201068
|
+
"application/json"
|
|
201069
|
+
],
|
|
201070
|
+
"description": "Classifies up to 50 caller-supplied email addresses and returns each one's `status` (`verified` — the mailbox accepts mail; `risky` — catch-all, role or disposable; `invalid` — bad syntax or no MX; `unverified` — could not be determined) and `type` (`generic`, `role`, `personal`). Crawls nothing: pass the addresses you already hold. This is the same classifier the Contact API applies to addresses it discovers, so statuses are directly comparable. When `smtp_enabled` is false, mailbox probing was unavailable for the call and nothing can be reported `verified` — an honest `unverified` rather than a guess.",
|
|
201071
|
+
"operationId": "email-verify",
|
|
201072
|
+
"parameters": [
|
|
201073
|
+
{
|
|
201074
|
+
"description": "Addresses to verify",
|
|
201075
|
+
"in": "body",
|
|
201076
|
+
"name": "option",
|
|
201077
|
+
"required": true,
|
|
201078
|
+
"schema": {
|
|
201079
|
+
"$ref": "#/definitions/contact.VerifyRequest"
|
|
201080
|
+
}
|
|
201081
|
+
}
|
|
201082
|
+
],
|
|
201083
|
+
"produces": [
|
|
201084
|
+
"application/json"
|
|
201085
|
+
],
|
|
201086
|
+
"responses": {
|
|
201087
|
+
"200": {
|
|
201088
|
+
"description": "OK",
|
|
201089
|
+
"schema": {
|
|
201090
|
+
"$ref": "#/definitions/contact.verifyResponseDoc"
|
|
201091
|
+
}
|
|
201092
|
+
},
|
|
201093
|
+
"400": {
|
|
201094
|
+
"description": "Invalid input, or no usable address in the batch",
|
|
201095
|
+
"schema": {
|
|
201096
|
+
"$ref": "#/definitions/app.Response"
|
|
201097
|
+
}
|
|
201098
|
+
},
|
|
201099
|
+
"429": {
|
|
201100
|
+
"description": "Rate limit exceeded",
|
|
201101
|
+
"schema": {
|
|
201102
|
+
"$ref": "#/definitions/app.Response"
|
|
201103
|
+
}
|
|
201104
|
+
},
|
|
201105
|
+
"500": {
|
|
201106
|
+
"description": "Internal server error during verification",
|
|
201107
|
+
"schema": {
|
|
201108
|
+
"$ref": "#/definitions/app.Response"
|
|
201109
|
+
}
|
|
201110
|
+
}
|
|
201111
|
+
},
|
|
201112
|
+
"security": [
|
|
201113
|
+
{
|
|
201114
|
+
"ApiKeyAuth": []
|
|
201115
|
+
}
|
|
201116
|
+
],
|
|
201117
|
+
"summary": "Email verification — deliverability status for a batch of addresses",
|
|
201118
|
+
"tags": [
|
|
201119
|
+
"Web"
|
|
201120
|
+
]
|
|
201121
|
+
}
|
|
201122
|
+
},
|
|
200984
201123
|
"/espn/athlete": {
|
|
200985
201124
|
"get": {
|
|
200986
201125
|
"consumes": [
|
data/sig/crawlora.rbs
CHANGED
|
@@ -540,6 +540,7 @@ module Crawlora
|
|
|
540
540
|
def initialize: (Client, Hash[String, String]) -> void
|
|
541
541
|
def contact: (?option: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped
|
|
542
542
|
def antibot_check: (?request: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped
|
|
543
|
+
def email_verify: (?option: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped
|
|
543
544
|
def extract: (?extractOption: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped
|
|
544
545
|
def scrape: (?scrapeOption: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped
|
|
545
546
|
def techstack: (?request: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped
|