API Documentation
retrieve informations from our website via GET
profile information from user:
latest 20 messages from an user:
json decoding would be following PHP code:
Name | Meaning | Description |
t (required) | Query type. | u is for profile informations, m is for messages informations. |
q (required) | Requested username. | The t parameter supports two values:
|
requests:
profile information from user:
https://www.rub.fm/phpdolphin/api.php?t=u&q=USERNAME
latest 20 messages from an user:
https://www.rub.fm/phpdolphin/api.php?t=m&q=USERNAME
json decoding would be following PHP code:
<?php
header('Content-Type: text/plain; charset=utf-8;');
$file = file_get_contents("https://www.rub.fm/phpdolphin/api.php?t=m&q=USERNAME");
print_r(json_decode($file));
?>