KnutZuidema / golio

League of Legends, Legends of Runeterra and Valorant API client library for Go
MIT License
72 stars 29 forks source link

feat: Legends of Runeterra endpoints #35

Closed KnutZuidema closed 4 years ago

KnutZuidema commented 4 years ago

This implements the Legends of Runeterra endpoints exposed by the Riot API. Currently there is only a single one. It also refactors the structure of the Riot Client.

codecov[bot] commented 4 years ago

Codecov Report

Merging #35 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #35   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           17        21    +4     
  Lines          934       972   +38     
=========================================
+ Hits           934       972   +38     
Impacted Files Coverage Δ
riot/lol/model.go 100.00% <ø> (ø)
internal/client.go 100.00% <100.00%> (ø)
internal/mock/mock_doer.go 100.00% <100.00%> (ø)
riot/lol/champion.go 100.00% <100.00%> (ø)
riot/lol/champion_mastery.go 100.00% <100.00%> (ø)
riot/lol/client.go 100.00% <100.00%> (ø)
riot/lol/league.go 100.00% <100.00%> (ø)
riot/lol/match.go 100.00% <100.00%> (ø)
riot/lol/spectator.go 100.00% <100.00%> (ø)
riot/lol/status.go 100.00% <100.00%> (ø)
... and 14 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 181b8e8...12d7b45. Read the comment docs.