Search
Preparing search index...
The search index is not available
cowinator - v1.0.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
cowinator - v1.0.0
Cowinator
Class Cowinator
Hierarchy
Cowinator
Index
Constructors
constructor
Properties
base
Url
locale
Methods
find
ByDistrict
find
District
ByName
find
State
ByName
get
Data
get
Districts
get
States
get
Stats
ByDistrict
get
Stats
ByState
Constructors
constructor
new
Cowinator
(
)
:
Cowinator
Returns
Cowinator
Properties
base
Url
base
Url
:
string
= 'https://cdn-api.co-vin.in'
locale
locale
:
string
= 'en_US'
Methods
find
ByDistrict
find
ByDistrict
(
districtId
:
number
, date
?:
Date
)
:
Promise
<
Session
[]
>
Parameters
districtId:
number
date:
Date
= ...
Returns
Promise
<
Session
[]
>
find
District
ByName
find
District
ByName
(
stateId
:
number
, query
:
string
)
:
Promise
<
null
|
District
>
Parameters
stateId:
number
query:
string
Returns
Promise
<
null
|
District
>
find
State
ByName
find
State
ByName
(
query
:
string
)
:
Promise
<
null
|
State
>
Parameters
query:
string
Returns
Promise
<
null
|
State
>
get
Data
get
Data
(
endpoint
:
string
)
:
Promise
<
any
>
Parameters
endpoint:
string
Returns
Promise
<
any
>
get
Districts
get
Districts
(
stateId
:
number
)
:
Promise
<
District
[]
>
Parameters
stateId:
number
Returns
Promise
<
District
[]
>
get
States
get
States
(
)
:
Promise
<
State
[]
>
Returns
Promise
<
State
[]
>
get
Stats
ByDistrict
get
Stats
ByDistrict
(
districtId
:
number
, date
?:
Date
)
:
Promise
<
any
>
Parameters
districtId:
number
date:
Date
= ...
Returns
Promise
<
any
>
get
Stats
ByState
get
Stats
ByState
(
stateId
:
number
, date
?:
Date
)
:
Promise
<
any
>
Parameters
stateId:
number
date:
Date
= ...
Returns
Promise
<
any
>
Exports
Cowinator
constructor
base
Url
locale
find
ByDistrict
find
District
ByName
find
State
ByName
get
Data
get
Districts
get
States
get
Stats
ByDistrict
get
Stats
ByState
District
Session
State
Generated using
TypeDoc