public LobbyInvitation[] Invite(long id) { dynamic obj = new JObject(); obj.toSummonerId = id; dynamic json = new JArray(obj); return(QsoApi.GetDTO <LobbyInvitation[]>("/lol-lobby/v2/lobby/invitations", HttpMethod.Post, json.ToString())); }
public Lobby Create() { Console.WriteLine(JSON.ToString()); return(QsoApi.GetDTO <Lobby>("/lol-lobby/v2/lobby", HttpMethod.Post, JSON.ToString())); }
public LobbyInvitation[] GetInvitations() { return(QsoApi.GetDTO <LobbyInvitation[]>("/lol-lobby/v2/lobby/invitations", HttpMethod.Get)); }
public ChatUser Build() { return(QsoApi.GetDTO <ChatUser>("/lol-chat/v1/me", HttpMethod.Put, JsonConvert.SerializeObject(_user))); }
public virtual ChatUser GetChatUser() { return(QsoApi.GetDTO <ChatUser>("/lol-chat/v1/friends/{0}", HttpMethod.Get, null, ID)); }
public PerkPageResource Build() { return(QsoApi.GetDTO <PerkPageResource>("/lol-perks/v1/pages/{0}", HttpMethod.Put, JsonConvert.SerializeObject(_page), id)); }
public LootRecipe[] GetRecipes() { return(QsoApi.GetDTO <LootRecipe[]>("/lol-loot/v1/recipes/initial-item/{0}", HttpMethod.Get, null, ID)); }