Gitee.Api by maikebing

<PackageReference Include="Gitee.Api" Version="1.0.0" />

.NET API 847,872 bytes

 SDK

public static class SDK
public static string client_id { get; set; }

public static string client_secret { get; set; }

public static Session ContinueByToken(string refresh_token, string access_token, DateTime exp)

public static Task<Repo> CreateRepoAsync(this Session session, string name, string description, bool isPrivate)

public static Task<List<Repo>> GetReposAsync(this Session session, int page, int per_page = 20)

public static Task<UserDetail> GetUserAsync(this Session session)

public static Task<Session> LoginAsync(string username, string password)

public static Task<Session> RefreshToken(string refresh_token)

public static Task<T> Request<T>(this Session session, string resource, object parameters, Method method = 0, bool paramAsJson = false)