Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"info": "Info", | |
"data": [ | |
{ | |
"author": "Author", | |
"quotes": [ | |
"Test 1!", | |
"Test 2!" | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import net.rithms.riot.api.ApiConfig; | |
import net.rithms.riot.api.RiotApi; | |
import net.rithms.riot.api.RiotApiException; | |
import net.rithms.riot.api.endpoints.stats.dto.AggregatedStats; | |
import net.rithms.riot.api.endpoints.stats.dto.RankedStats; | |
import net.rithms.riot.constant.Region; | |
/** | |
* This is a simple example using the RiotApi to request summoner information for a few given summoner names | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package testing; | |
import java.util.Map; | |
import constant.Region; | |
import constant.staticdata.ChampData; | |
import constant.staticdata.ItemListData; | |
import constant.staticdata.SpellData; | |
import dto.Static.Champion; | |
import dto.Static.ChampionList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: Doublelift | |
Queue: RANKED_SOLO_5x5 | |
Tier: CHALLENGER | |
Division: I | |
Wins: 110 | |
Losses: 45 | |
League Points: 1269 | |
---------------------- | |
Name: Acolyte of Peng | |
Queue: RANKED_TEAM_5x5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package testing; | |
import java.util.List; | |
import java.util.Map; | |
import constant.Region; | |
import dto.League.League; | |
import dto.League.LeagueEntry; | |
import dto.Match.MatchDetail; | |
import dto.Match.Team; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package testing; | |
import java.util.List; | |
import constant.Region; | |
import dto.Match.MatchDetail; | |
import dto.Match.Team; | |
import dto.MatchHistory.MatchSummary; | |
import dto.MatchHistory.Participant; | |
import dto.MatchHistory.ParticipantStats; | |
import dto.MatchHistory.PlayerHistory; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(268, 'DevState') | |
(197, 'Charge') | |
(32, 'TriggerVisual') | |
(370, 'AffectedBySpellPower') | |
(293, 'Morph') | |
(45, 'Health') | |
(47, 'Atk') | |
(48, 'Cost') | |
(183, 'CardSet') | |
(184, 'CardTextInHand') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bs4 import BeautifulSoup | |
import glob | |
enum_id_dict = {} | |
for f in glob.glob('cardxml0/TextAsset/*txt'): | |
with open(f) as cardfile: | |
cardsoup = BeautifulSoup(cardfile.read(), features="xml") | |
card = cardsoup.find('Entity') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object range = howeverYouGetThisValue(); | |
if (range is List) | |
{ | |
Console.WriteLine("Non-self targeting spell."); | |
} | |
else | |
{ | |
Console.WriteLine("Self targeting spell."); | |
} |