browser-extensions-playground
Preparing search index...
scraped-data/src
createScrapedDataTools
Function createScrapedDataTools
createScrapedDataTools
(
baseUrl
?:
string
,
)
:
{
describeProvider
(
provider
:
string
)
:
Promise
<
ProviderDescription
|
null
>
;
getLatestSnapshot
(
provider
?:
string
,
)
:
Promise
<
ProviderSnapshot
|
Record
<
string
,
ProviderSnapshot
>
|
null
>
;
getServerStatus
()
:
Promise
<
ScrapingServerStatus
>
;
getSnapshotHistory
(
query
?:
DeterministicHistoryQuery
,
)
:
Promise
<
readonly
DeterministicSnapshotRecord
[]
>
;
listProviders
()
:
Promise
<
readonly
RegisteredProviderInfo
[]
>
;
}
Parameters
baseUrl
:
string
= LOCAL_SERVER_HTTP_ORIGIN
Returns
{
describeProvider
(
provider
:
string
)
:
Promise
<
ProviderDescription
|
null
>
;
getLatestSnapshot
(
provider
?:
string
,
)
:
Promise
<
ProviderSnapshot
|
Record
<
string
,
ProviderSnapshot
>
|
null
>
;
getServerStatus
()
:
Promise
<
ScrapingServerStatus
>
;
getSnapshotHistory
(
query
?:
DeterministicHistoryQuery
,
)
:
Promise
<
readonly
DeterministicSnapshotRecord
[]
>
;
listProviders
()
:
Promise
<
readonly
RegisteredProviderInfo
[]
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
browser-extensions-playground
Loading...