-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add Disforge * [auto] docs: update docs
- Loading branch information
Showing
4 changed files
with
242 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { Service, ServicePostOptions } from '../Service'; | ||
/** | ||
* Represents the Disforge service. | ||
* @see https://disforge.com/developer | ||
*/ | ||
export default class Disforge extends Service { | ||
/** The values that can be used to select the service. */ | ||
static get aliases(): string[]; | ||
/** The logo URL. */ | ||
static get logoURL(): string; | ||
/** Service's name. */ | ||
static get serviceName(): string; | ||
/** The website URL. */ | ||
static get websiteURL(): string; | ||
/** The base URL of the service's API. */ | ||
static get baseURL(): string; | ||
/** | ||
* Posts statistics to this service. | ||
* <warn>Shard data posting is not supported for this service.</warn> | ||
* @param options The options of the request | ||
*/ | ||
static post(options: ServicePostOptions): Promise<import("axios").AxiosResponse<any>>; | ||
/** | ||
* Retreives the data shown on the homepage. | ||
*/ | ||
getHomepage(): Promise<import("axios").AxiosResponse<any>>; | ||
/** | ||
* Retreives statistics about Disforge. | ||
*/ | ||
getStats(): Promise<import("axios").AxiosResponse<any>>; | ||
} |
Oops, something went wrong.