/// <summary> /// Gets a list of repositories of the with the specified <code>username</code>. /// </summary> /// <param name="username">The username of the user.</param> /// <param name="options">The options for the call to the API.</param> public BitBucketRepositoriesResponse GetRepositories(string username, BitBucketRepositoriesOptions options) { return BitBucketRepositoriesResponse.ParseResponse(Raw.GetRepositories(username, options)); }
/// <summary> /// Gets a list of repositories of the user with the specified <code>username</code>. /// </summary> /// <param name="username">The username of the user.</param> /// <param name="options">The options for the call to the API.</param> public SocialHttpResponse GetRepositories(string username, BitBucketRepositoriesOptions options) { return Client.DoHttpGetRequest("https://bitbucket.org/api/2.0/repositories/" + username, options); }