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; }
/****
** Amazon Web Services
****/
/// The access key for AWS authentication.
public string AmazonAccessKey { get; set; }
/// The secret key for AWS authentication.
public string AmazonSecretKey { get; set; }
/// The AWS region endpoint (like 'us-east-1').
public string AmazonRegion { get; set; }
/// The AWS bucket in which to store temporary uploaded logs.
public string AmazonTempBucket { 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; }
/****
** CurseForge
****/
/// The base URL for the CurseForge API.
public string CurseForgeBaseUrl { get; set; }
/****
** GitHub
****/
/// The base URL for the GitHub API.
public string GitHubBaseUrl { 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; }
/****
** ModDrop
****/
/// The base URL for the ModDrop API.
public string ModDropApiUrl { get; set; }
/// The URL for a ModDrop mod page for the user, where {0} is the mod ID.
public string ModDropModPageUrl { get; set; }
/****
** Nexus Mods
****/
/// The base URL for the Nexus Mods API.
public string NexusBaseUrl { get; set; }
/// The URL for a Nexus mod page for the user, excluding the , where {0} is the mod ID.
public string NexusModUrlFormat { get; set; }
/// The URL for a Nexus mod page to scrape for versions, excluding the , where {0} is the mod ID.
public string NexusModScrapeUrlFormat { get; set; }
/// The Nexus API authentication key.
public string NexusApiKey { get; set; }
/****
** Pastebin
****/
/// The base URL for the Pastebin API.
public string PastebinBaseUrl { 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; }
}
}