@getanyapi/sdk 0.96.0 → 0.97.0
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/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +47 -52
- package/dist/index.d.ts +47 -52
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -49137,7 +49137,7 @@ interface SeoLlmTopPagesData {
|
|
|
49137
49137
|
totalCount?: number;
|
|
49138
49138
|
}
|
|
49139
49139
|
/**
|
|
49140
|
-
* Input for
|
|
49140
|
+
* Input for Google Local Pack (seo.local_pack).
|
|
49141
49141
|
*/
|
|
49142
49142
|
interface SeoLocalPackInput {
|
|
49143
49143
|
/**
|
|
@@ -49150,33 +49150,32 @@ interface SeoLocalPackInput {
|
|
|
49150
49150
|
*/
|
|
49151
49151
|
ignoreSources?: string[];
|
|
49152
49152
|
/**
|
|
49153
|
-
*
|
|
49153
|
+
* Search keyword, for example coffee shop or plumber.
|
|
49154
49154
|
*/
|
|
49155
49155
|
keyword: string;
|
|
49156
49156
|
/**
|
|
49157
|
-
* Language code for
|
|
49157
|
+
* Language code for the search results.
|
|
49158
49158
|
* Default: en.
|
|
49159
49159
|
*/
|
|
49160
49160
|
language?: string;
|
|
49161
49161
|
/**
|
|
49162
|
-
* Maximum number of local pack
|
|
49162
|
+
* Maximum number of local pack businesses to return. Google usually shows three. Billing is flat per request.
|
|
49163
49163
|
* Range: minimum 1, maximum 100.
|
|
49164
|
-
* Default: 20.
|
|
49165
49164
|
*/
|
|
49166
49165
|
limit?: number;
|
|
49167
49166
|
/**
|
|
49168
|
-
*
|
|
49169
|
-
*/
|
|
49170
|
-
location?: string;
|
|
49171
|
-
/**
|
|
49172
|
-
* Precise geo target as latitude,longitude or latitude,longitude,radius (radius in meters); for example, 40.7580,-73.9855 or 40.7580,-73.9855,1000. Supply either location or locationCoordinate, not both.
|
|
49167
|
+
* Location to search from, formatted like City,Region,Country; for example, New York,New York,United States.
|
|
49173
49168
|
*/
|
|
49174
|
-
|
|
49169
|
+
location: string;
|
|
49175
49170
|
/**
|
|
49176
49171
|
* Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.
|
|
49177
49172
|
* Range: minimum 1.
|
|
49178
49173
|
*/
|
|
49179
49174
|
preferLatencyUnderMs?: number;
|
|
49175
|
+
/**
|
|
49176
|
+
* Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `address` or `cid`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a business that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
49177
|
+
*/
|
|
49178
|
+
requireFields?: ("address" | "bookingUrl" | "category" | "cid" | "description" | "directionsUrl" | "hours" | "image" | "knowledgeGraphId" | "priceLevel" | "rankGroup")[];
|
|
49180
49179
|
/**
|
|
49181
49180
|
* Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
|
|
49182
49181
|
*/
|
|
@@ -49184,95 +49183,91 @@ interface SeoLocalPackInput {
|
|
|
49184
49183
|
}
|
|
49185
49184
|
interface SeoLocalPackPlace {
|
|
49186
49185
|
/**
|
|
49187
|
-
*
|
|
49188
|
-
* Present whenever the upstream returns this record.
|
|
49186
|
+
* The address line Google shows for the business in the pack. For a business that serves an area rather than a storefront, Google shows years in business and the city here instead.
|
|
49189
49187
|
*/
|
|
49190
49188
|
address?: string;
|
|
49191
49189
|
/**
|
|
49192
|
-
*
|
|
49190
|
+
* Booking link Google shows for the business, when it has one. The query string carries the booking session, so it is kept.
|
|
49191
|
+
*/
|
|
49192
|
+
bookingUrl?: string;
|
|
49193
|
+
/**
|
|
49194
|
+
* Business category Google shows, such as Coffee shop or Plumber.
|
|
49193
49195
|
*/
|
|
49194
49196
|
category?: string;
|
|
49195
49197
|
/**
|
|
49196
|
-
*
|
|
49198
|
+
* Google customer id (CID) of the business listing.
|
|
49197
49199
|
*/
|
|
49198
|
-
|
|
49200
|
+
cid?: string;
|
|
49199
49201
|
/**
|
|
49200
|
-
*
|
|
49202
|
+
* The text Google prints under the business name in the pack. Usually it is every line: the street address or years in business, opening hours, and a review quote. On some responses it is only the review quote, with the address and hours in their own fields.
|
|
49201
49203
|
*/
|
|
49202
|
-
|
|
49204
|
+
description?: string;
|
|
49203
49205
|
/**
|
|
49204
|
-
*
|
|
49206
|
+
* Google Maps directions link to the business, with tracking query parameters removed.
|
|
49205
49207
|
*/
|
|
49206
|
-
|
|
49208
|
+
directionsUrl?: string;
|
|
49207
49209
|
/**
|
|
49208
|
-
*
|
|
49210
|
+
* Host name of the business website, such as www.example.com.
|
|
49209
49211
|
*/
|
|
49210
49212
|
domain?: string;
|
|
49211
49213
|
/**
|
|
49212
|
-
*
|
|
49214
|
+
* Opening hours text Google shows, such as Open 24 hours or Closed - Opens 7 AM.
|
|
49213
49215
|
*/
|
|
49214
|
-
|
|
49216
|
+
hours?: string;
|
|
49215
49217
|
/**
|
|
49216
|
-
*
|
|
49218
|
+
* Thumbnail photo URL Google shows for the business.
|
|
49217
49219
|
*/
|
|
49218
|
-
|
|
49220
|
+
image?: string;
|
|
49219
49221
|
/**
|
|
49220
|
-
*
|
|
49222
|
+
* Google Knowledge Graph id of the business, such as /g/11vb1r7rlr.
|
|
49221
49223
|
*/
|
|
49222
|
-
|
|
49224
|
+
knowledgeGraphId?: string;
|
|
49223
49225
|
/**
|
|
49224
|
-
*
|
|
49226
|
+
* Business name. Populated whenever the provider has data for the entity.
|
|
49225
49227
|
*/
|
|
49226
49228
|
name: string;
|
|
49227
49229
|
/**
|
|
49228
|
-
* Business phone number, when
|
|
49230
|
+
* Business phone number, when Google shows one, as Google prints it: national format such as (512) 890-2933 or international format such as +1 512-890-2933.
|
|
49229
49231
|
*/
|
|
49230
49232
|
phone?: string;
|
|
49231
49233
|
/**
|
|
49232
|
-
*
|
|
49233
|
-
*/
|
|
49234
|
-
placeId?: string;
|
|
49235
|
-
/**
|
|
49236
|
-
* Postal code of the place.
|
|
49234
|
+
* One-based position of the business in the local pack, counting only unpaid listings. Populated whenever the provider has data for the entity.
|
|
49237
49235
|
*/
|
|
49238
|
-
|
|
49236
|
+
position: number;
|
|
49239
49237
|
/**
|
|
49240
|
-
* Price
|
|
49238
|
+
* Price range Google shows for the business, such as $10-20.
|
|
49241
49239
|
*/
|
|
49242
49240
|
priceLevel?: string;
|
|
49243
49241
|
/**
|
|
49244
|
-
*
|
|
49242
|
+
* Position of the business among every element of the Google results page, counting from the top.
|
|
49245
49243
|
*/
|
|
49246
|
-
rankAbsolute
|
|
49244
|
+
rankAbsolute?: number;
|
|
49247
49245
|
/**
|
|
49248
|
-
*
|
|
49246
|
+
* Position Google gives the business inside the local pack, counting sponsored listings, so it can be higher than position when an ad sits above it.
|
|
49249
49247
|
*/
|
|
49250
49248
|
rankGroup?: number;
|
|
49251
49249
|
/**
|
|
49252
|
-
* Average star rating out of 5. Populated whenever the provider has data for the entity.
|
|
49250
|
+
* Average Google star rating out of 5. Populated whenever the provider has data for the entity.
|
|
49253
49251
|
* Present whenever the upstream returns this record.
|
|
49254
49252
|
*/
|
|
49255
49253
|
rating?: number;
|
|
49256
49254
|
/**
|
|
49257
|
-
*
|
|
49258
|
-
|
|
49259
|
-
region?: string;
|
|
49260
|
-
/**
|
|
49261
|
-
* Total number of reviews.
|
|
49255
|
+
* Number of Google reviews behind the rating. Populated whenever the provider has data for the entity.
|
|
49256
|
+
* Present whenever the upstream returns this record.
|
|
49262
49257
|
*/
|
|
49263
49258
|
reviewsCount?: number;
|
|
49264
49259
|
/**
|
|
49265
|
-
*
|
|
49260
|
+
* Business website URL, when listed, with tracking query parameters removed.
|
|
49266
49261
|
*/
|
|
49267
49262
|
url?: string;
|
|
49268
49263
|
[extra: string]: unknown;
|
|
49269
49264
|
}
|
|
49270
49265
|
/**
|
|
49271
|
-
* The `data` payload of
|
|
49266
|
+
* The `data` payload of Google Local Pack (seo.local_pack).
|
|
49272
49267
|
*/
|
|
49273
49268
|
interface SeoLocalPackData {
|
|
49274
49269
|
/**
|
|
49275
|
-
*
|
|
49270
|
+
* Businesses in the Google local pack, in the order Google shows them. Populated whenever the provider has data for the entity.
|
|
49276
49271
|
*/
|
|
49277
49272
|
places: SeoLocalPackPlace[];
|
|
49278
49273
|
}
|
|
@@ -50277,14 +50272,14 @@ declare class SeoNamespace {
|
|
|
50277
50272
|
*/
|
|
50278
50273
|
llmTopPages(input: SeoLlmTopPagesInput, options?: RequestOptions): Promise<RunResult<SeoLlmTopPagesData>>;
|
|
50279
50274
|
/**
|
|
50280
|
-
*
|
|
50275
|
+
* Google Local Pack
|
|
50281
50276
|
*
|
|
50282
|
-
*
|
|
50277
|
+
* Get the Google local pack for a keyword in a city: the short list of businesses Google shows in the map box on its normal search results page, in pack order, with rating, review count, address, category, opening hours, phone, website, booking link, and Google listing ids. Sponsored listings are left out. For the full Google Maps results list, use maps.search.
|
|
50283
50278
|
*
|
|
50284
|
-
* Price: $0.
|
|
50279
|
+
* Price: $0.0015 per request.
|
|
50285
50280
|
*
|
|
50286
50281
|
* @example
|
|
50287
|
-
* const res = await client.seo.localPack({ keyword: "coffee shop",
|
|
50282
|
+
* const res = await client.seo.localPack({ keyword: "coffee shop", location: "New York,New York,United States", language: "en" });
|
|
50288
50283
|
*/
|
|
50289
50284
|
localPack(input: SeoLocalPackInput, options?: RequestOptions): Promise<RunResult<SeoLocalPackData>>;
|
|
50290
50285
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -49137,7 +49137,7 @@ interface SeoLlmTopPagesData {
|
|
|
49137
49137
|
totalCount?: number;
|
|
49138
49138
|
}
|
|
49139
49139
|
/**
|
|
49140
|
-
* Input for
|
|
49140
|
+
* Input for Google Local Pack (seo.local_pack).
|
|
49141
49141
|
*/
|
|
49142
49142
|
interface SeoLocalPackInput {
|
|
49143
49143
|
/**
|
|
@@ -49150,33 +49150,32 @@ interface SeoLocalPackInput {
|
|
|
49150
49150
|
*/
|
|
49151
49151
|
ignoreSources?: string[];
|
|
49152
49152
|
/**
|
|
49153
|
-
*
|
|
49153
|
+
* Search keyword, for example coffee shop or plumber.
|
|
49154
49154
|
*/
|
|
49155
49155
|
keyword: string;
|
|
49156
49156
|
/**
|
|
49157
|
-
* Language code for
|
|
49157
|
+
* Language code for the search results.
|
|
49158
49158
|
* Default: en.
|
|
49159
49159
|
*/
|
|
49160
49160
|
language?: string;
|
|
49161
49161
|
/**
|
|
49162
|
-
* Maximum number of local pack
|
|
49162
|
+
* Maximum number of local pack businesses to return. Google usually shows three. Billing is flat per request.
|
|
49163
49163
|
* Range: minimum 1, maximum 100.
|
|
49164
|
-
* Default: 20.
|
|
49165
49164
|
*/
|
|
49166
49165
|
limit?: number;
|
|
49167
49166
|
/**
|
|
49168
|
-
*
|
|
49169
|
-
*/
|
|
49170
|
-
location?: string;
|
|
49171
|
-
/**
|
|
49172
|
-
* Precise geo target as latitude,longitude or latitude,longitude,radius (radius in meters); for example, 40.7580,-73.9855 or 40.7580,-73.9855,1000. Supply either location or locationCoordinate, not both.
|
|
49167
|
+
* Location to search from, formatted like City,Region,Country; for example, New York,New York,United States.
|
|
49173
49168
|
*/
|
|
49174
|
-
|
|
49169
|
+
location: string;
|
|
49175
49170
|
/**
|
|
49176
49171
|
* Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.
|
|
49177
49172
|
* Range: minimum 1.
|
|
49178
49173
|
*/
|
|
49179
49174
|
preferLatencyUnderMs?: number;
|
|
49175
|
+
/**
|
|
49176
|
+
* Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `address` or `cid`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a business that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
49177
|
+
*/
|
|
49178
|
+
requireFields?: ("address" | "bookingUrl" | "category" | "cid" | "description" | "directionsUrl" | "hours" | "image" | "knowledgeGraphId" | "priceLevel" | "rankGroup")[];
|
|
49180
49179
|
/**
|
|
49181
49180
|
* Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
|
|
49182
49181
|
*/
|
|
@@ -49184,95 +49183,91 @@ interface SeoLocalPackInput {
|
|
|
49184
49183
|
}
|
|
49185
49184
|
interface SeoLocalPackPlace {
|
|
49186
49185
|
/**
|
|
49187
|
-
*
|
|
49188
|
-
* Present whenever the upstream returns this record.
|
|
49186
|
+
* The address line Google shows for the business in the pack. For a business that serves an area rather than a storefront, Google shows years in business and the city here instead.
|
|
49189
49187
|
*/
|
|
49190
49188
|
address?: string;
|
|
49191
49189
|
/**
|
|
49192
|
-
*
|
|
49190
|
+
* Booking link Google shows for the business, when it has one. The query string carries the booking session, so it is kept.
|
|
49191
|
+
*/
|
|
49192
|
+
bookingUrl?: string;
|
|
49193
|
+
/**
|
|
49194
|
+
* Business category Google shows, such as Coffee shop or Plumber.
|
|
49193
49195
|
*/
|
|
49194
49196
|
category?: string;
|
|
49195
49197
|
/**
|
|
49196
|
-
*
|
|
49198
|
+
* Google customer id (CID) of the business listing.
|
|
49197
49199
|
*/
|
|
49198
|
-
|
|
49200
|
+
cid?: string;
|
|
49199
49201
|
/**
|
|
49200
|
-
*
|
|
49202
|
+
* The text Google prints under the business name in the pack. Usually it is every line: the street address or years in business, opening hours, and a review quote. On some responses it is only the review quote, with the address and hours in their own fields.
|
|
49201
49203
|
*/
|
|
49202
|
-
|
|
49204
|
+
description?: string;
|
|
49203
49205
|
/**
|
|
49204
|
-
*
|
|
49206
|
+
* Google Maps directions link to the business, with tracking query parameters removed.
|
|
49205
49207
|
*/
|
|
49206
|
-
|
|
49208
|
+
directionsUrl?: string;
|
|
49207
49209
|
/**
|
|
49208
|
-
*
|
|
49210
|
+
* Host name of the business website, such as www.example.com.
|
|
49209
49211
|
*/
|
|
49210
49212
|
domain?: string;
|
|
49211
49213
|
/**
|
|
49212
|
-
*
|
|
49214
|
+
* Opening hours text Google shows, such as Open 24 hours or Closed - Opens 7 AM.
|
|
49213
49215
|
*/
|
|
49214
|
-
|
|
49216
|
+
hours?: string;
|
|
49215
49217
|
/**
|
|
49216
|
-
*
|
|
49218
|
+
* Thumbnail photo URL Google shows for the business.
|
|
49217
49219
|
*/
|
|
49218
|
-
|
|
49220
|
+
image?: string;
|
|
49219
49221
|
/**
|
|
49220
|
-
*
|
|
49222
|
+
* Google Knowledge Graph id of the business, such as /g/11vb1r7rlr.
|
|
49221
49223
|
*/
|
|
49222
|
-
|
|
49224
|
+
knowledgeGraphId?: string;
|
|
49223
49225
|
/**
|
|
49224
|
-
*
|
|
49226
|
+
* Business name. Populated whenever the provider has data for the entity.
|
|
49225
49227
|
*/
|
|
49226
49228
|
name: string;
|
|
49227
49229
|
/**
|
|
49228
|
-
* Business phone number, when
|
|
49230
|
+
* Business phone number, when Google shows one, as Google prints it: national format such as (512) 890-2933 or international format such as +1 512-890-2933.
|
|
49229
49231
|
*/
|
|
49230
49232
|
phone?: string;
|
|
49231
49233
|
/**
|
|
49232
|
-
*
|
|
49233
|
-
*/
|
|
49234
|
-
placeId?: string;
|
|
49235
|
-
/**
|
|
49236
|
-
* Postal code of the place.
|
|
49234
|
+
* One-based position of the business in the local pack, counting only unpaid listings. Populated whenever the provider has data for the entity.
|
|
49237
49235
|
*/
|
|
49238
|
-
|
|
49236
|
+
position: number;
|
|
49239
49237
|
/**
|
|
49240
|
-
* Price
|
|
49238
|
+
* Price range Google shows for the business, such as $10-20.
|
|
49241
49239
|
*/
|
|
49242
49240
|
priceLevel?: string;
|
|
49243
49241
|
/**
|
|
49244
|
-
*
|
|
49242
|
+
* Position of the business among every element of the Google results page, counting from the top.
|
|
49245
49243
|
*/
|
|
49246
|
-
rankAbsolute
|
|
49244
|
+
rankAbsolute?: number;
|
|
49247
49245
|
/**
|
|
49248
|
-
*
|
|
49246
|
+
* Position Google gives the business inside the local pack, counting sponsored listings, so it can be higher than position when an ad sits above it.
|
|
49249
49247
|
*/
|
|
49250
49248
|
rankGroup?: number;
|
|
49251
49249
|
/**
|
|
49252
|
-
* Average star rating out of 5. Populated whenever the provider has data for the entity.
|
|
49250
|
+
* Average Google star rating out of 5. Populated whenever the provider has data for the entity.
|
|
49253
49251
|
* Present whenever the upstream returns this record.
|
|
49254
49252
|
*/
|
|
49255
49253
|
rating?: number;
|
|
49256
49254
|
/**
|
|
49257
|
-
*
|
|
49258
|
-
|
|
49259
|
-
region?: string;
|
|
49260
|
-
/**
|
|
49261
|
-
* Total number of reviews.
|
|
49255
|
+
* Number of Google reviews behind the rating. Populated whenever the provider has data for the entity.
|
|
49256
|
+
* Present whenever the upstream returns this record.
|
|
49262
49257
|
*/
|
|
49263
49258
|
reviewsCount?: number;
|
|
49264
49259
|
/**
|
|
49265
|
-
*
|
|
49260
|
+
* Business website URL, when listed, with tracking query parameters removed.
|
|
49266
49261
|
*/
|
|
49267
49262
|
url?: string;
|
|
49268
49263
|
[extra: string]: unknown;
|
|
49269
49264
|
}
|
|
49270
49265
|
/**
|
|
49271
|
-
* The `data` payload of
|
|
49266
|
+
* The `data` payload of Google Local Pack (seo.local_pack).
|
|
49272
49267
|
*/
|
|
49273
49268
|
interface SeoLocalPackData {
|
|
49274
49269
|
/**
|
|
49275
|
-
*
|
|
49270
|
+
* Businesses in the Google local pack, in the order Google shows them. Populated whenever the provider has data for the entity.
|
|
49276
49271
|
*/
|
|
49277
49272
|
places: SeoLocalPackPlace[];
|
|
49278
49273
|
}
|
|
@@ -50277,14 +50272,14 @@ declare class SeoNamespace {
|
|
|
50277
50272
|
*/
|
|
50278
50273
|
llmTopPages(input: SeoLlmTopPagesInput, options?: RequestOptions): Promise<RunResult<SeoLlmTopPagesData>>;
|
|
50279
50274
|
/**
|
|
50280
|
-
*
|
|
50275
|
+
* Google Local Pack
|
|
50281
50276
|
*
|
|
50282
|
-
*
|
|
50277
|
+
* Get the Google local pack for a keyword in a city: the short list of businesses Google shows in the map box on its normal search results page, in pack order, with rating, review count, address, category, opening hours, phone, website, booking link, and Google listing ids. Sponsored listings are left out. For the full Google Maps results list, use maps.search.
|
|
50283
50278
|
*
|
|
50284
|
-
* Price: $0.
|
|
50279
|
+
* Price: $0.0015 per request.
|
|
50285
50280
|
*
|
|
50286
50281
|
* @example
|
|
50287
|
-
* const res = await client.seo.localPack({ keyword: "coffee shop",
|
|
50282
|
+
* const res = await client.seo.localPack({ keyword: "coffee shop", location: "New York,New York,United States", language: "en" });
|
|
50288
50283
|
*/
|
|
50289
50284
|
localPack(input: SeoLocalPackInput, options?: RequestOptions): Promise<RunResult<SeoLocalPackData>>;
|
|
50290
50285
|
/**
|
package/dist/index.js
CHANGED
|
@@ -6082,14 +6082,14 @@ var SeoNamespace = class {
|
|
|
6082
6082
|
return this._core.run("seo.llm_top_pages", input, options);
|
|
6083
6083
|
}
|
|
6084
6084
|
/**
|
|
6085
|
-
*
|
|
6085
|
+
* Google Local Pack
|
|
6086
6086
|
*
|
|
6087
|
-
*
|
|
6087
|
+
* Get the Google local pack for a keyword in a city: the short list of businesses Google shows in the map box on its normal search results page, in pack order, with rating, review count, address, category, opening hours, phone, website, booking link, and Google listing ids. Sponsored listings are left out. For the full Google Maps results list, use maps.search.
|
|
6088
6088
|
*
|
|
6089
|
-
* Price: $0.
|
|
6089
|
+
* Price: $0.0015 per request.
|
|
6090
6090
|
*
|
|
6091
6091
|
* @example
|
|
6092
|
-
* const res = await client.seo.localPack({ keyword: "coffee shop",
|
|
6092
|
+
* const res = await client.seo.localPack({ keyword: "coffee shop", location: "New York,New York,United States", language: "en" });
|
|
6093
6093
|
*/
|
|
6094
6094
|
localPack(input, options) {
|
|
6095
6095
|
return this._core.run("seo.local_pack", input, options);
|