mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-28 00:49:40 +05:00
Merge remote-tracking branch 'origin/feat_player'
This commit is contained in:
parent
bb437fe7ca
commit
25e31a7799
62 changed files with 1508 additions and 701 deletions
32
app/api/config.ts
Normal file
32
app/api/config.ts
Normal file
|
@ -0,0 +1,32 @@
|
|||
export const API_URL = "https://api.anixart.tv";
|
||||
export const API_PREFIX = "/api";
|
||||
export const USER_AGENT =
|
||||
"AnixartApp/8.2.1-23121216 (Android 11; SDK 30; arm64-v8a;)";
|
||||
|
||||
export const ENDPOINTS = {
|
||||
release: {
|
||||
info: `${API_PREFIX}/release`,
|
||||
episode: `${API_PREFIX}/episode`,
|
||||
},
|
||||
user: {
|
||||
profile: `${API_PREFIX}/profile`,
|
||||
bookmark: `${API_PREFIX}/profile/list`,
|
||||
history: `${API_PREFIX}/history`,
|
||||
favorite: `${API_PREFIX}/favorite`,
|
||||
},
|
||||
filter: `${API_PREFIX}/filter`,
|
||||
// user: {
|
||||
// history: `${API_PREFIX}/history`,
|
||||
// watching: `${API_PREFIX}/profile/list/all/1`,
|
||||
// planned: `${API_PREFIX}/profile/list/all/2`,
|
||||
// watched: `${API_PREFIX}/profile/list/all/3`,
|
||||
// delayed: `${API_PREFIX}/profile/list/all/4`,
|
||||
// abandoned: `${API_PREFIX}/profile/list/all/5`,
|
||||
// favorite: `${API_PREFIX}/favorite`,
|
||||
// },
|
||||
search: `${API_URL}/search`,
|
||||
statistic: {
|
||||
addHistory: `${API_PREFIX}/history/add`,
|
||||
markWatched: `${API_PREFIX}/episode/watch`,
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue