@ipregistry/client
Preparing search index...
IpregistryRequestHandler
Interface IpregistryRequestHandler
interface
IpregistryRequestHandler
{
batchLookupAsns
(
asns
:
number
[]
,
options
:
IpregistryOption
[]
,
)
:
Promise
<
ApiResponse
<
BatchResult
<
AutonomousSystem
|
LookupError
>
>
>
;
batchLookupIps
(
ipAddresses
:
string
[]
,
options
:
IpregistryOption
[]
,
)
:
Promise
<
ApiResponse
<
BatchResult
<
IpInfo
|
LookupError
>
>
>
;
lookupAsn
(
asn
:
number
,
options
:
IpregistryOption
[]
,
)
:
Promise
<
ApiResponse
<
AutonomousSystem
>
>
;
lookupIp
(
ipAddress
:
string
,
options
:
IpregistryOption
[]
,
)
:
Promise
<
ApiResponse
<
IpInfo
>
>
;
originLookupAsn
(
options
:
IpregistryOption
[]
,
)
:
Promise
<
ApiResponse
<
RequesterAutonomousSystem
>
>
;
originLookupIp
(
options
:
IpregistryOption
[]
,
)
:
Promise
<
ApiResponse
<
RequesterIpInfo
>
>
;
parseUserAgents
(
userAgents
:
string
[]
,
)
:
Promise
<
ApiResponse
<
BatchResult
<
UserAgent
>
>
>
;
}
Implemented by
DefaultRequestHandler
Index
Methods
batch
Lookup
Asns
batch
Lookup
Ips
lookup
Asn
lookup
Ip
origin
Lookup
Asn
origin
Lookup
Ip
parse
User
Agents
Methods
batch
Lookup
Asns
batchLookupAsns
(
asns
:
number
[]
,
options
:
IpregistryOption
[]
,
)
:
Promise
<
ApiResponse
<
BatchResult
<
AutonomousSystem
|
LookupError
>
>
>
Parameters
asns
:
number
[]
options
:
IpregistryOption
[]
Returns
Promise
<
ApiResponse
<
BatchResult
<
AutonomousSystem
|
LookupError
>
>
>
batch
Lookup
Ips
batchLookupIps
(
ipAddresses
:
string
[]
,
options
:
IpregistryOption
[]
,
)
:
Promise
<
ApiResponse
<
BatchResult
<
IpInfo
|
LookupError
>
>
>
Parameters
ipAddresses
:
string
[]
options
:
IpregistryOption
[]
Returns
Promise
<
ApiResponse
<
BatchResult
<
IpInfo
|
LookupError
>
>
>
lookup
Asn
lookupAsn
(
asn
:
number
,
options
:
IpregistryOption
[]
,
)
:
Promise
<
ApiResponse
<
AutonomousSystem
>
>
Parameters
asn
:
number
options
:
IpregistryOption
[]
Returns
Promise
<
ApiResponse
<
AutonomousSystem
>
>
lookup
Ip
lookupIp
(
ipAddress
:
string
,
options
:
IpregistryOption
[]
,
)
:
Promise
<
ApiResponse
<
IpInfo
>
>
Parameters
ipAddress
:
string
options
:
IpregistryOption
[]
Returns
Promise
<
ApiResponse
<
IpInfo
>
>
origin
Lookup
Asn
originLookupAsn
(
options
:
IpregistryOption
[]
,
)
:
Promise
<
ApiResponse
<
RequesterAutonomousSystem
>
>
Parameters
options
:
IpregistryOption
[]
Returns
Promise
<
ApiResponse
<
RequesterAutonomousSystem
>
>
origin
Lookup
Ip
originLookupIp
(
options
:
IpregistryOption
[]
,
)
:
Promise
<
ApiResponse
<
RequesterIpInfo
>
>
Parameters
options
:
IpregistryOption
[]
Returns
Promise
<
ApiResponse
<
RequesterIpInfo
>
>
parse
User
Agents
parseUserAgents
(
userAgents
:
string
[]
,
)
:
Promise
<
ApiResponse
<
BatchResult
<
UserAgent
>
>
>
Parameters
userAgents
:
string
[]
Returns
Promise
<
ApiResponse
<
BatchResult
<
UserAgent
>
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
batch
Lookup
Asns
batch
Lookup
Ips
lookup
Asn
lookup
Ip
origin
Lookup
Asn
origin
Lookup
Ip
parse
User
Agents
@ipregistry/client
Loading...