diff options
Diffstat (limited to 'pages/api/raindrops.php')
-rw-r--r-- | pages/api/raindrops.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pages/api/raindrops.php b/pages/api/raindrops.php new file mode 100644 index 0000000..c44faa6 --- /dev/null +++ b/pages/api/raindrops.php @@ -0,0 +1,6 @@ +<?php + +header("Content-Type: text/plain"); + +$fronters = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/gdapd/fronters.json"), true); +echo($fronters['members'][0]['display_name'] ?? $fronters['members'][0]['name']);
\ No newline at end of file |