public VimeoChannelsResponse GetUserChannels(string name) { HttpWebResponse response = SocialUtils.DoHttpGetRequest("http://vimeo.com/api/v2/" + name + "/channels.xml"); if (response.StatusCode == HttpStatusCode.OK) { return(VimeoChannelsResponse.Parse(XElement.Parse(response.GetAsString()))); } throw new VimeoException(response.GetAsString()); }
public VimeoChannelsResponse GetAll(string username, VimeoChannelsSort sort, int page, int perPage) { return(VimeoChannelsResponse.Parse(JsonConverter.ParseObject(Raw.GetAll(username, sort, page, perPage)))); }
public VimeoChannelsResponse GetAll(string username) { return(VimeoChannelsResponse.Parse(JsonConverter.ParseObject(Raw.GetAll(username)))); }
// TODO: Implement method: ??? AddVideo(string channelId, int videoId) #endregion #region Method: vimeo.channels.getAll public VimeoChannelsResponse GetAll() { return(VimeoChannelsResponse.Parse(JsonConverter.ParseObject(Raw.GetAll()))); }