diff options
Diffstat (limited to 'api/pluralkit/system')
-rw-r--r-- | api/pluralkit/system/index.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/api/pluralkit/system/index.php b/api/pluralkit/system/index.php new file mode 100644 index 0000000..a8fda5c --- /dev/null +++ b/api/pluralkit/system/index.php @@ -0,0 +1,5 @@ +<?php + +$config = json_decode(file_get_contents($_SERVER["DOCUMENT_ROOT"] . "/data/pluralkit.json"), true); +header("Content-Type: application/json"); +die(file_get_contents("https://api.pluralkit.me/v2/systems/$config[system]"));
\ No newline at end of file |