Search
Preparing search index...
The search index is not available
boxrec
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
Boxrec
Class Boxrec
Hierarchy
Boxrec
Index
Methods
get
Bout
ById
get
BoxerPDF
get
Boxer
Print
get
Champions
get
Date
get
Event
ById
get
Events
ByLocation
get
People
ByLocation
get
People
ByName
get
Person
ById
get
Ratings
get
Results
get
Schedule
get
Title
ById
get
Titles
get
Venue
ById
get
Watched
login
search
unwatch
watch
Methods
Static
get
Bout
ById
get
Bout
ById
(
cookies
:
string
, eventBoutId
:
string
)
:
Promise
<
BoxrecPageEventBout
>
Parameters
cookies:
string
eventBoutId:
string
Returns
Promise
<
BoxrecPageEventBout
>
Static
get
BoxerPDF
get
BoxerPDF
(
cookies
:
string
, globalId
:
number
, pathToSaveTo
:
undefined
|
string
, fileName
:
undefined
|
string
)
:
Promise
<
string
>
Parameters
cookies:
string
globalId:
number
Optional
pathToSaveTo:
undefined
|
string
Optional
fileName:
undefined
|
string
Returns
Promise
<
string
>
Static
get
Boxer
Print
get
Boxer
Print
(
cookies
:
string
, globalId
:
number
, pathToSaveTo
:
undefined
|
string
, fileName
:
undefined
|
string
)
:
Promise
<
string
>
Parameters
cookies:
string
globalId:
number
Optional
pathToSaveTo:
undefined
|
string
Optional
fileName:
undefined
|
string
Returns
Promise
<
string
>
Static
get
Champions
get
Champions
(
cookies
:
string
)
:
Promise
<
BoxrecPageChampions
>
Parameters
cookies:
string
Returns
Promise
<
BoxrecPageChampions
>
Static
get
Date
get
Date
(
cookies
:
string
, params
:
BoxrecDate
)
:
Promise
<
BoxrecPageDate
>
Parameters
cookies:
string
params:
BoxrecDate
Returns
Promise
<
BoxrecPageDate
>
Static
get
Event
ById
get
Event
ById
(
cookies
:
string
, eventId
:
number
)
:
Promise
<
BoxrecPageEvent
>
Parameters
cookies:
string
eventId:
number
Returns
Promise
<
BoxrecPageEvent
>
Static
get
Events
ByLocation
get
Events
ByLocation
(
cookies
:
string
, params
:
BoxrecLocationEventParams
, offset
?:
number
)
:
Promise
<
BoxrecPageLocationEvent
>
Parameters
cookies:
string
params:
BoxrecLocationEventParams
Default value
offset:
number
= 0
Returns
Promise
<
BoxrecPageLocationEvent
>
Static
get
People
ByLocation
get
People
ByLocation
(
cookies
:
string
, params
:
BoxrecLocationsPeopleParams
, offset
?:
number
)
:
Promise
<
BoxrecPageLocationPeople
|
BoxrecPageLocationBoxer
>
Parameters
cookies:
string
params:
BoxrecLocationsPeopleParams
Default value
offset:
number
= 0
Returns
Promise
<
BoxrecPageLocationPeople
|
BoxrecPageLocationBoxer
>
Static
get
People
ByName
get
People
ByName
(
cookies
:
string
, firstName
:
string
, lastName
:
string
, role
?:
BoxrecRole
, status
?:
BoxrecStatus
, offset
?:
number
)
:
AsyncIterableIterator
<
BoxrecPageProfileBoxer
|
BoxrecPageProfileOtherCommon
|
BoxrecPageProfileEvents
|
BoxrecPageProfileManager
>
Parameters
cookies:
string
firstName:
string
lastName:
string
Default value
role:
BoxrecRole
= BoxrecRole.proBoxer
Default value
status:
BoxrecStatus
= BoxrecStatus.all
Default value
offset:
number
= 0
Returns
AsyncIterableIterator
<
BoxrecPageProfileBoxer
|
BoxrecPageProfileOtherCommon
|
BoxrecPageProfileEvents
|
BoxrecPageProfileManager
>
Static
get
Person
ById
get
Person
ById
(
cookies
:
string
, globalId
:
number
, role
?:
BoxrecRole
|
null
, offset
?:
number
)
:
Promise
<
BoxrecPageProfileBoxer
|
BoxrecPageProfileOtherCommon
|
BoxrecPageProfileEvents
|
BoxrecPageProfileManager
|
BoxrecPageProfilePromoter
>
Parameters
cookies:
string
globalId:
number
Default value
role:
BoxrecRole
|
null
= null
Default value
offset:
number
= 0
Returns
Promise
<
BoxrecPageProfileBoxer
|
BoxrecPageProfileOtherCommon
|
BoxrecPageProfileEvents
|
BoxrecPageProfileManager
|
BoxrecPageProfilePromoter
>
Static
get
Ratings
get
Ratings
(
cookies
:
string
, params
:
BoxrecRatingsParams
, offset
?:
number
)
:
Promise
<
BoxrecPageRatings
>
Parameters
cookies:
string
params:
BoxrecRatingsParams
Default value
offset:
number
= 0
Returns
Promise
<
BoxrecPageRatings
>
Static
get
Results
get
Results
(
cookies
:
string
, params
:
BoxrecResultsParams
, offset
?:
number
)
:
Promise
<
BoxrecPageSchedule
>
Parameters
cookies:
string
params:
BoxrecResultsParams
Default value
offset:
number
= 0
Returns
Promise
<
BoxrecPageSchedule
>
Static
get
Schedule
get
Schedule
(
cookies
:
string
, params
:
BoxrecScheduleParams
, offset
?:
number
)
:
Promise
<
BoxrecPageSchedule
>
Parameters
cookies:
string
params:
BoxrecScheduleParams
Default value
offset:
number
= 0
Returns
Promise
<
BoxrecPageSchedule
>
Static
get
Title
ById
get
Title
ById
(
cookies
:
string
, titleString
:
string
, offset
?:
number
)
:
Promise
<
BoxrecPageTitle
>
Parameters
cookies:
string
titleString:
string
Default value
offset:
number
= 0
Returns
Promise
<
BoxrecPageTitle
>
Static
get
Titles
get
Titles
(
cookies
:
string
, params
:
BoxrecTitlesParams
, offset
?:
number
)
:
Promise
<
any
>
Parameters
cookies:
string
params:
BoxrecTitlesParams
Default value
offset:
number
= 0
Returns
Promise
<
any
>
Static
get
Venue
ById
get
Venue
ById
(
cookies
:
string
, venueId
:
number
, offset
?:
number
)
:
Promise
<
BoxrecPageVenue
>
Parameters
cookies:
string
venueId:
number
Default value
offset:
number
= 0
Returns
Promise
<
BoxrecPageVenue
>
Static
get
Watched
get
Watched
(
cookies
:
string
)
:
Promise
<
BoxrecPageWatchRow
[]
>
Parameters
cookies:
string
Returns
Promise
<
BoxrecPageWatchRow
[]
>
Static
login
login
(
username
:
string
, password
:
string
)
:
Promise
<
string
>
Parameters
username:
string
password:
string
Returns
Promise
<
string
>
the BoxRec log in cookie to make subsequent requests
Static
search
search
(
cookies
:
string
, params
:
BoxrecSearchParams
, offset
?:
number
)
:
Promise
<
BoxrecSearch
[]
>
Parameters
cookies:
string
params:
BoxrecSearchParams
Default value
offset:
number
= 0
Returns
Promise
<
BoxrecSearch
[]
>
Static
unwatch
unwatch
(
cookies
:
string
, boxerGlobalId
:
number
)
:
Promise
<
boolean
>
Parameters
cookies:
string
boxerGlobalId:
number
Returns
Promise
<
boolean
>
Static
watch
watch
(
cookies
:
string
, boxerGlobalId
:
number
)
:
Promise
<
boolean
>
Parameters
cookies:
string
boxerGlobalId:
number
Returns
Promise
<
boolean
>
Globals
Boxrec
get
Bout
ById
get
BoxerPDF
get
Boxer
Print
get
Champions
get
Date
get
Event
ById
get
Events
ByLocation
get
People
ByLocation
get
People
ByName
get
Person
ById
get
Ratings
get
Results
get
Schedule
get
Title
ById
get
Titles
get
Venue
ById
get
Watched
login
search
unwatch
watch
Generated using
TypeDoc