Connect
retrieve informations from our website via GET

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:
  • u = username basic profile informations containing following]
    • id = user Unique Id
    • username = Username
    • first_name = First Name
    • last_name = Last Name
    • website = website
    • country = country
    • city = city
    • address = address
    • image = profile avatar image
    • cover = profile cover image
    • verified = verified or not [possible values: 0 (not verified); 1(verified);]
  • m = username [ 20 message from an user containing following]
    • id = Message Unique Id
    • by = User Unique Id
    • message = Message
    • type = Message Type [possible values: map; game; video; food; visited; movie; music;
    • time = date time when was published
    • likes = number of likes


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));
?>