mirror of
https://github.com/daydreamer-json/ak-endfield-api-archive.git
synced 2026-02-04 06:15:04 +01:00
Update README
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,4 +1,4 @@
|
|||||||
config
|
config/config.yaml
|
||||||
|
|
||||||
# dependencies (bun install)
|
# dependencies (bun install)
|
||||||
node_modules
|
node_modules
|
||||||
|
|||||||
19
README.md
19
README.md
@@ -1,3 +1,22 @@
|
|||||||
# ak-endfield-api-archive
|
# ak-endfield-api-archive
|
||||||
|
|
||||||
|
Monitor changes to responses from various Arknights Endfield APIs and record them in this repository.
|
||||||
|
|
||||||
|
Updates are checked hourly and automatically pushed via GitHub Actions.
|
||||||
|
API outputs are stored in the [`output`](/output/) directory.
|
||||||
|
|
||||||
|
The APIs currently being monitored are as follows:
|
||||||
|
- Launcher
|
||||||
|
- Get latest game
|
||||||
|
- Get latest game resources
|
||||||
|
- Get latest launcher
|
||||||
|
|
||||||
|
## Disclaimer
|
||||||
|
|
||||||
|
This project has no affiliation with Hypergryph and was created solely for private use, educational, and research purposes.
|
||||||
|
|
||||||
|
I assume no responsibility whatsoever. Please use it at your own risk.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
This project was created using `bun init` in bun v1.3.5. [Bun](https://bun.com) is a fast all-in-one JavaScript runtime.
|
This project was created using `bun init` in bun v1.3.5. [Bun](https://bun.com) is a fast all-in-one JavaScript runtime.
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
import path from 'node:path';
|
||||||
import yargs from 'yargs';
|
import yargs from 'yargs';
|
||||||
import { hideBin } from 'yargs/helpers';
|
import { hideBin } from 'yargs/helpers';
|
||||||
import cmds from './cmds.js';
|
import cmds from './cmds.js';
|
||||||
@@ -33,7 +34,7 @@ async function parseCommand() {
|
|||||||
'output-dir': {
|
'output-dir': {
|
||||||
alias: ['o'],
|
alias: ['o'],
|
||||||
desc: 'Output root directory',
|
desc: 'Output root directory',
|
||||||
default: appConfig.file.outputDirPath,
|
default: path.resolve('output'),
|
||||||
normalize: true,
|
normalize: true,
|
||||||
type: 'string',
|
type: 'string',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import path from 'node:path';
|
|
||||||
import deepmerge from 'deepmerge';
|
import deepmerge from 'deepmerge';
|
||||||
import YAML from 'yaml';
|
import YAML from 'yaml';
|
||||||
// import * as TypesGameEntry from '../types/GameEntry.js';
|
// import * as TypesGameEntry from '../types/GameEntry.js';
|
||||||
@@ -13,9 +12,6 @@ type AllRequired<T> = Required<{
|
|||||||
|
|
||||||
type ConfigType = AllRequired<
|
type ConfigType = AllRequired<
|
||||||
Freeze<{
|
Freeze<{
|
||||||
file: {
|
|
||||||
outputDirPath: string;
|
|
||||||
};
|
|
||||||
network: {
|
network: {
|
||||||
api: {
|
api: {
|
||||||
akEndfield: {
|
akEndfield: {
|
||||||
@@ -56,9 +52,6 @@ type ConfigType = AllRequired<
|
|||||||
>;
|
>;
|
||||||
|
|
||||||
const initialConfig: ConfigType = {
|
const initialConfig: ConfigType = {
|
||||||
file: {
|
|
||||||
outputDirPath: path.resolve('output'),
|
|
||||||
},
|
|
||||||
network: {
|
network: {
|
||||||
api: {
|
api: {
|
||||||
akEndfield: {
|
akEndfield: {
|
||||||
|
|||||||
Reference in New Issue
Block a user