googlemaps-kit 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.
- package/README.md +8 -2
- package/assets/banner.png +0 -0
- package/dist/services/reviews.d.ts +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="./assets/banner.png" alt="googlemaps-kit — TypeScript SDK for Google Maps consumer surfaces" width="100%">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
1
5
|
# googlemaps-kit
|
|
2
6
|
|
|
3
7
|
> TypeScript SDK for programmatic access to Google Maps consumer surfaces.
|
|
@@ -21,8 +25,10 @@ block without notice. Intended for research and personal tooling, not bulk scrap
|
|
|
21
25
|
|
|
22
26
|
## How it works
|
|
23
27
|
|
|
24
|
-
1. **
|
|
25
|
-
|
|
28
|
+
1. **Anonymous bootstrap** — On first use, the client makes a short HTTP handshake
|
|
29
|
+
(`google.com` → consent → Maps) and keeps **anonymous** cookies such as `NID` and
|
|
30
|
+
`AEC`. No Google account, API key, or cookies to configure — this is bot/consent
|
|
31
|
+
context, not user login. See `src/auth/session.ts`.
|
|
26
32
|
2. **API calls** — Services build request URLs and protobuf payloads, then parse JSON
|
|
27
33
|
responses into typed results.
|
|
28
34
|
3. **No headless browser** — Chromium/Playwright is not used at runtime. The only
|
|
Binary file
|
|
@@ -17,7 +17,7 @@ export interface GetReviewsOptions {
|
|
|
17
17
|
sort?: ReviewSortOrder;
|
|
18
18
|
/**
|
|
19
19
|
* Filter parsed rows client-side. Anonymous Boq ignores server-side search/filter pb —
|
|
20
|
-
* See
|
|
20
|
+
* See `src/parsers/reviews.ts` for the reviews wire format.
|
|
21
21
|
*/
|
|
22
22
|
filters?: ReviewClientFilters;
|
|
23
23
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "googlemaps-kit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "TypeScript SDK for Google Maps consumer HTTP surfaces",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"files": [
|
|
23
23
|
"dist",
|
|
24
24
|
"LICENSE",
|
|
25
|
-
"README.md"
|
|
25
|
+
"README.md",
|
|
26
|
+
"assets/banner.png"
|
|
26
27
|
],
|
|
27
28
|
"sideEffects": false,
|
|
28
29
|
"engines": {
|