Search Results for

    Show / Hide Table of Contents

    Class ApiProvider

    An API bridge to GitHub services.

    Inheritance
    System.Object
    ApiProvider
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Exiled.Loader.GHApi
    Assembly: Exiled.Loader.dll
    Syntax
    public static class ApiProvider

    Fields

    | Improve this Doc View Source

    GetReleasesTemplate

    The API template to get releases.

    Declaration
    public const string GetReleasesTemplate = "https://api.github.com/repositories/{0}/releases"
    Field Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    GetReleases(Int64, GetReleasesSettings, HttpClient)

    Gets all releases from a git repository.

    Declaration
    public static async Task<Release[]> GetReleases(long repoId, GetReleasesSettings settings, HttpClient client)
    Parameters
    Type Name Description
    System.Int64 repoId

    The repository from which get the releases.

    GetReleasesSettings settings

    The settings.

    System.Net.Http.HttpClient client

    The System.Net.Http.HttpClient.

    Returns
    Type Description
    System.Threading.Tasks.Task<Release[]>

    A Release[] containing all requested releases.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX