Export requestJSON and requestRAW to core, formatting and adapting code and removing yandere code for update.
This commit is contained in:
5
src/plugins/yandere/api/api.ts
Normal file
5
src/plugins/yandere/api/api.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { assert } from "@std/assert/assert";
|
||||
import { requestJSON, requestRaw } from "@root/structures/apiRequest.ts";
|
||||
|
||||
const baseURL = "https://yande.re"
|
||||
const postURL = `${baseURL}/post.json?api_version=2`;
|
||||
Reference in New Issue
Block a user