mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-03-21 18:04:10 -05:00
Coral 3.1.0
This commit is contained in:
parent
2de9ce365f
commit
abf6fa9ca9
|
|
@ -15,7 +15,7 @@ const debug = createDebug('nxapi:api:coral');
|
|||
|
||||
const ZNCA_PLATFORM = 'Android';
|
||||
const ZNCA_PLATFORM_VERSION = '12';
|
||||
export const ZNCA_VERSION = '3.0.2';
|
||||
export const ZNCA_VERSION = '3.0.2'; // TODO: update to 3.1.0
|
||||
const ZNCA_USER_AGENT = `com.nintendo.znca/${ZNCA_VERSION}(${ZNCA_PLATFORM}/${ZNCA_PLATFORM_VERSION})`;
|
||||
|
||||
const ZNC_URL = 'https://api-lp1.znc.srv.nintendo.net';
|
||||
|
|
@ -83,6 +83,7 @@ export abstract class AbstractCoralApi {
|
|||
|
||||
async getWebServices() {
|
||||
return this.call<WebServices_4>('/v4/GameWebService/List', {
|
||||
[RequestFlagNoParameterSymbol]: true,
|
||||
[RequestFlagRequestIdSymbol]: RequestFlagRequestId.AFTER,
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user