summaryrefslogtreecommitdiff
path: root/lib/rms.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rms.php')
-rw-r--r--lib/rms.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rms.php b/lib/rms.php
index 8b92e49..ab0fd71 100644
--- a/lib/rms.php
+++ b/lib/rms.php
@@ -4,6 +4,7 @@ const RMS_API_BASE = 'https://rms.api.bbc.co.uk/v2';
const RMS_SOUNDS_HOME = '/experience/inline/listen/sign-in';
const RMS_SOUNDS_CONTAINER = '/experience/inline/container';
const RMS_SOUNDS_PLAYABLE = '/experience/inline/play';
+const RMS_SOUNDS_TOKEN_BASE = '/sign/token';
function rms_fetch(string $path): stdClass {
return json_decode(file_get_contents(RMS_API_BASE . $path));