Project

vigor

0.01
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
This aims to be a idiomatic Ruby wrapper for the League of Legends API. Moving quickly toward 1.0.0!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.14
~> 2.8
~> 1.16

Runtime

~> 0.12
 Project Readme
Simple, idiomatic Ruby wrapper for the League of Legends API. We're moving quickly toward a complete feature set and a 1.0.0 release!

Vigor makes interacting with the League of Legends API simple and painless, by providing a streamlined and intuitive inteface.

Installation:

gem install vigor

Usage:

Vigor.configure("Your API key")
dyrus = Vigor.summoner("dyrus")
wildturtle = Vigor.summoner(521955)

wildturtle.id
=> 521955

wildturtle.recent_games
=> [List of Game objects]

wildturtle.recent_games.fellow_players.first
=> [Player object]

wildturtle.current_mastery_page
=> [MasteryPage object]

Full documentation coming with the 1.0.0 release. In the meantime, here are some methods you might want to check out:

Vigor.summoner(id or "name")
Vigor.mastery_pages(id)
Vigor.all_champions
Vigor.free_to_play
Vigor.champion("name")
Vigor.recent_games(id)

Summoner.mastery_pages
Summoner.rune_pages
Summoner.current_mastery_page
Summoner.current_rune_page
Summoner.recent_games

Game.fellow_players # Note that these are full player objects, and will dynamically load missing information like "name".

This product is not endorsed, certified or otherwise approved in any way by Riot Games, Inc. or any of its affiliates.