diff options
author | Minteck <contact@minteck.org> | 2022-04-06 19:56:46 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-04-06 19:56:46 +0200 |
commit | 01632caf82659e4e8025b4fad91ff7388b369770 (patch) | |
tree | 18127ad9abbd877dc4c6731040fa12eea2982497 /api/pluralkit/system/index.php | |
parent | 86bb68d8e7e9c2158939810b9343c7824886d6f4 (diff) | |
download | cloudsdale-01632caf82659e4e8025b4fad91ff7388b369770.tar.gz cloudsdale-01632caf82659e4e8025b4fad91ff7388b369770.tar.bz2 cloudsdale-01632caf82659e4e8025b4fad91ff7388b369770.zip |
Public API is complete
Diffstat (limited to 'api/pluralkit/system/index.php')
-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 |