parseapi 1.10.4 → 1.10.6
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/README.md +15 -4
- data/lib/parseapi/client.rb +1 -1
- data/lib/parseapi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 638f70630afd963a04d34c4117413c25186bf767eab3e49d9a601716bd8ffded
|
|
4
|
+
data.tar.gz: '0695255961cf73570e35460b7b3a1cd3f82b0b0a78fecba0830c88da5c37bca8'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eedd45a6ca614c53d98be2a951fb8655faacc507d5861f794bd578485d73a207a914dac4c195cd9064d6aa04aa0cb27a5941a5d363cda0e94f7e63efd15e2ee1
|
|
7
|
+
data.tar.gz: c2fbbbbfc149d8a804780095ae2e4d58b0323e8741a9f26afefc621aad783fccf125303bf3779620050e3174ecc953e2da8401b9fc90e34cb9f415e5eae8410a
|
data/README.md
CHANGED
|
@@ -42,7 +42,7 @@ Pass `country` when a postal code or national phone number needs disambiguation.
|
|
|
42
42
|
|
|
43
43
|
Results are plain data. Pass a returned code or coordinate to another operation when the task needs it. Check nullable values before composing the next call.
|
|
44
44
|
|
|
45
|
-
Use `parse.postal('28202', country: 'US', deep: true)` for US ZIP tax references. `deep.tax` names the levy and `deep.tax_rate` is a percentage, so `7.9` means 7.9%. The state, county, city and special components explain that combined rate. An exact address can differ. Country and state lookups provide their own geographic reference rates, which should not be added to the ZIP rate. `nil` means unknown and `0` means known zero.
|
|
45
|
+
Use `parse.postal('28202', country: 'US', deep: true)` for US ZIP tax references. `deep.tax` names the levy and `deep.tax_rate` is a percentage, so `7.9` means 7.9%. The state, county, city and special components explain that combined rate. An exact address can differ. Country and state lookups provide their own geographic reference rates, which should not be added to the ZIP rate. `nil` means unknown and `0` means known zero.
|
|
46
46
|
|
|
47
47
|
## Company directory
|
|
48
48
|
|
|
@@ -73,6 +73,15 @@ Discovery example: `parse.company_search(country: 'US', industry: '0700', indust
|
|
|
73
73
|
Supply `industry` and `industry_type` together. The supported namespace is `sic`, with an exact four-digit string such as `0700`; leading zeros are meaningful. Country-only discovery is also supported. Filters intersect and may narrow an existing selector. Country matches the profile country, not a headquarters or operating-presence claim. Unknown values do not match a requested filter. Filter-only candidates use `match.field: "filters"` and `match.value: null`; reuse the same filters and limit with a returned cursor. Counts describe this directory edition, not complete country coverage.
|
|
74
74
|
|
|
75
75
|
|
|
76
|
+
## ISO identifiers
|
|
77
|
+
|
|
78
|
+
Country uses `iso_alpha3` and `iso_numeric`, State uses the full
|
|
79
|
+
`iso_subdivision` code such as `US-CA`, Language uses `iso_alpha3`, and Currency
|
|
80
|
+
uses `iso_numeric`. Primary `country`, `state`, `language` and `currency` codes
|
|
81
|
+
keep their meaning. Results retain the selected API contract's exact keys,
|
|
82
|
+
values, nulls and nesting. Earlier server contracts retain their earlier ISO
|
|
83
|
+
spellings. Use the existing lookup methods for each resource.
|
|
84
|
+
|
|
76
85
|
## Calls
|
|
77
86
|
|
|
78
87
|
One method per endpoint, named after the route.
|
|
@@ -210,6 +219,8 @@ Source deep adds `standard_offset`, `standard_offset_seconds`, signed `dst_offse
|
|
|
210
219
|
|
|
211
220
|
## Place statistics and optional detail
|
|
212
221
|
|
|
222
|
+
Country Core contains the everyday reference: `name`, `name_full`, `name_local`, demonym, `iso_alpha3` and `iso_numeric` country identifiers, continent, region and subregion, currency, calling code, `flag`, language and timezone codes, borders, bloc memberships and `capital: { name, lat, lon }`. Paid Deep adds specialist detail, including population, total area and national statistics. `gdp_usd` and `gdp_per_capita_usd` are current US dollars; `population_growth_percent`, `urban_population_percent` and `internet_users_percent` use a 0–100 percent scale (growth can be negative or exceed 100). GDP per person and these three percentages round once to two decimals in the API response. `elevation_average` is average terrain elevation in meters; `lowest_point.elevation` and `highest_point.elevation` keep their point-specific meaning. Unknown stays null and a known zero stays zero. Country tax references are grouped once as `deep.tax: { name, rate }`; the rate remains a percentage. Read capital from the Core object and read the tax name and rate from the Deep tax object.
|
|
223
|
+
|
|
213
224
|
Australian postal lookups include core `localities` with suburb choices (`city`, `state`, `state_name`) on every plan. Null or an omitted field means unknown, while `[]` means the reviewed reference has no eligible choices. `city` stays null when the source is ambiguous, even if there is only one eligible choice. Let the user select their suburb and keep manual entry available. These are geographic choices, not mailing-address verification. [G-NAF source, adaptations and licence](https://parseapi.com/legal/attribution#postal-au).
|
|
214
225
|
|
|
215
226
|
Postal and District paid profiles include `deep.property_tax` where supported. It contains `annual_median`, `currency` and `period`: median annual property tax payable on owner-occupied homes in the statistical area. The amount is adjusted to the final year of the reporting period (`YYYY-YYYY`). This is an area statistic, not a rate or an individual property bill. Unsupported, missing and censored estimates are null.
|
|
@@ -221,7 +232,7 @@ property_tax = place.dig('deep', 'property_tax')
|
|
|
221
232
|
|
|
222
233
|
Read `population` as the source’s count for that place boundary. Keep missing or null values unknown and preserve a known zero. State district lists include each district’s population. Postal nearby and distance detail remains metropolitan associations only. Continent population stays in core.
|
|
223
234
|
|
|
224
|
-
Country deep includes `land_area` and `water_area` in km2, `coastline` in km, and
|
|
235
|
+
Country deep includes `land_area` and `water_area` in km2, `coastline` in km, and `elevation_average` in meters. `lowest_point` and `highest_point` contain a nullable `name` and an `elevation` in metres. Values below sea level are negative. Missing or null values stay unknown, and zero stays zero.
|
|
225
236
|
|
|
226
237
|
Point returns the timezone ID with the core location. Its optional deep detail adds terrain and compact nearest-city context on every plan. A nearest city is null when none is within 200 km.
|
|
227
238
|
|
|
@@ -350,9 +361,9 @@ puts basic['at'], detail.dig('deep', 'next_dst')
|
|
|
350
361
|
result = parse.stack("example.com")
|
|
351
362
|
```
|
|
352
363
|
|
|
353
|
-
|
|
364
|
+
Stack checks static homepage HTML and response headers. It returns the checked URL, original `checked_at` time and eight technology arrays.
|
|
354
365
|
|
|
355
|
-
`cms`, `servers`, `frameworks`, `ecommerce`, `analytics`, `chat`, `payments` and `hosting` are arrays because a site can use several technologies in each category. Each entry contains `technology`, `name` and nullable `version`. Technology codes are open strings. A successful check uses empty arrays for categories with no matches. When no HTML page could be checked, `checked_at` and all categories are null
|
|
366
|
+
`cms`, `servers`, `frameworks`, `ecommerce`, `analytics`, `chat`, `payments` and `hosting` are arrays because a site can use several technologies in each category. Each entry contains `technology`, `name` and nullable `version`. Technology codes are open strings. A successful check uses empty arrays for categories with no matches. When no HTML page could be checked, `checked_at` and all categories are null. Unknown or conflicting versions are null. Detections describe the checked homepage.
|
|
356
367
|
|
|
357
368
|
Successful checks may be reused for up to 24 hours. `pretty` optionally formats the wire JSON. Stack uses your plan's request allowance and API version 2.0.0 selected by this client.
|
|
358
369
|
|
data/lib/parseapi/client.rb
CHANGED
|
@@ -251,7 +251,7 @@ module ParseAPI
|
|
|
251
251
|
end
|
|
252
252
|
|
|
253
253
|
# Identify website technologies and versions by category.
|
|
254
|
-
#
|
|
254
|
+
# Categories are arrays or null.
|
|
255
255
|
# Lists are nil when no page could be checked and empty for no matches.
|
|
256
256
|
def stack(domain, deep: false, pretty: false)
|
|
257
257
|
get("/stack/#{seg(domain)}", deep: deep, pretty: pretty)
|
data/lib/parseapi/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: parseapi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.10.
|
|
4
|
+
version: 1.10.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ParseAPI
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email:
|