using System.Collections.Generic;
using Newtonsoft.Json.Linq;
public static void Main()
using (var client = new WebClient())
var downloadedString = client.DownloadString("https://api.frankerfacez.com/v1/room/d3thw0lf");
var json = (JObject)JsonConvert.DeserializeObject(downloadedString);
var getEmoteSet = json.SelectToken("room").SelectToken("set").ToString();
var getEmotes = json.SelectToken("sets").SelectToken(getEmoteSet).ToString();
var emotes = JsonConvert.DeserializeObject<FFZEmoteSets>(getEmotes);
foreach (var emote in emotes.emoticons)
Console.WriteLine("NAME: " + emote.name);
Console.WriteLine("URL: " + emote.urls._1);
public class FFZEmoteOwner
public int _id { get; set; }
public string display_name { get; set; }
public string name { get; set; }
public class FFZEmoteUrls
public string _1 { get; set; }
public string _2 { get; set; }
public string _4 { get; set; }
public object css { get; set; }
public int height { get; set; }
public bool hidden { get; set; }
public int id { get; set; }
public object margins { get; set; }
public bool modifier { get; set; }
public string name { get; set; }
public object offset { get; set; }
public FFZEmoteOwner owner { get; set; }
public bool @public { get; set; }
public FFZEmoteUrls urls { get; set; }
public int width { get; set; }
public class FFZEmoteSets
public int _type { get; set; }
public object css { get; set; }
public object description { get; set; }
public List<FFZEmotes> emoticons { get; set; }
public object icon { get; set; }
public int id { get; set; }
public string title { get; set; }