Struct riven::endpoints::ValMatchV1[][src]

pub struct ValMatchV1<'a> { /* fields omitted */ }
Expand description

ValMatchV1 endpoints handle, accessed by calling val_match_v1() on a RiotApi instance.

Riot Developer API Reference

val-match-v1

Note: this struct is automatically generated.

Implementations

Get match by id

Parameters

  • region - Region to query.
  • matchId

Riot Developer API Reference

val-match-v1.getMatch

Note: this method is automatically generated.

Get matchlist for games played by puuid

Parameters

  • region - Region to query.
  • puuid

Riot Developer API Reference

val-match-v1.getMatchlist

Note: this method is automatically generated.

Get recent matches

Implementation Notes

Returns a list of match ids that have completed in the last 10 minutes for live regions and 12 hours for the esports routing value. NA/LATAM/BR share a match history deployment. As such, recent matches will return a combined list of matches from those three regions. Requests are load balanced so you may see some inconsistencies as matches are added/removed from the list.

Parameters

  • region - Region to query.
  • queue

Riot Developer API Reference

val-match-v1.getRecent

Note: this method is automatically generated.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.