Skip to content

Instantly share code, notes, and snippets.

View aj-r's full-sized avatar

AJ Richardson aj-r

  • Waterloo, Ontario, Canada
View GitHub Profile
@aj-r
aj-r / IConvertibleExcepetion.cs
Last active August 29, 2015 14:17
Newtonsoft.Json IConvertible excepetion
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Sandbox
{
class Program
{
static void Main()
{
@aj-r
aj-r / doc.md
Last active June 7, 2018 11:25 — forked from themasch/doc.md

REST Service for LoL spectators

This is an unofficial, uncomplete and (pretty sure) wrong documentation of the RESTful service which powers the League of Legends spectator mode.

This documentation is desgined to be community driven and should be extended by everyone. If you find things missing, add them please!

How it works

Riot's spectator mode works by requesting replay data via HTTP form a service. The data is split in chunks which usually contain about 30 seconds of gameplay. Additionally there are key frames which seem to contain more information then a single chunk. They seem to be used to support