namespace StardewModdingAPI.Web.Framework.ConfigModels
{
/// The config settings for the API clients.
internal class ApiClientsConfig
{
/*********
** Accessors
*********/
/****
** Generic
****/
/// The user agent for API clients, where {0} is the SMAPI version.
public string UserAgent { get; set; }
/****
** Chucklefish
****/
/// The base URL for the Chucklefish mod site.
public string ChucklefishBaseUrl { get; set; }
/// The URL for a mod page on the Chucklefish mod site excluding the , where {0} is the mod ID.
public string ChucklefishModPageUrlFormat { get; set; }
/****
** GitHub
****/
/// The base URL for the GitHub API.
public string GitHubBaseUrl { get; set; }
/// The URL for a GitHub API latest-release query excluding the , where {0} is the organisation and project name.
public string GitHubReleaseUrlFormat { get; set; }
/// The Accept header value expected by the GitHub API.
public string GitHubAcceptHeader { get; set; }
/// The username with which to authenticate to the GitHub API (if any).
public string GitHubUsername { get; set; }
/// The password with which to authenticate to the GitHub API (if any).
public string GitHubPassword { get; set; }
/****
** Nexus Mods
****/
/// The user agent for the Nexus Mods API client.
public string NexusUserAgent { get; set; }
/// The base URL for the Nexus Mods API.
public string NexusBaseUrl { get; set; }
/// The URL for a Nexus Mods API query excluding the , where {0} is the mod ID.
public string NexusModUrlFormat { get; set; }
/****
** Pastebin
****/
/// The base URL for the Pastebin API.
public string PastebinBaseUrl { get; set; }
/// The user agent for the Pastebin API client, where {0} is the SMAPI version.
public string PastebinUserAgent { get; set; }
/// The user key used to authenticate with the Pastebin API.
public string PastebinUserKey { get; set; }
/// The developer key used to authenticate with the Pastebin API.
public string PastebinDevKey { get; set; }
}
}