Blamber APIs

Our API allows you to retrieve informations from y website via GET request and supports the following parameters:

Field Description
get This parameter specify the type of the query:
  • users is for user profile informations
  • pages is for pages informations
  • groups is for groups informations
query The query

 

Get Users

Allow you to retrive the user info

Example of requests:

[GET] https://blamber.ru/api.php?get=users&query=USERNAME

Example of response:

[user_id] => 1
[user_name] => Yehia Abed
[user_fullname] => d3veloper
[user_gender] => M
[user_picture] => https://blamber.ru/content/themes/default/images/blank_profile_male.jpg
[user_cover] =>
[user_registered] => 2019-02-14 14:56:57
[user_verified] => 1

An example of json decoding would be the following PHP code:

<?
phpheader('Content-Type: text/plain; charset=utf-8;');
$file = file_get_contents( "https://blamber.ru/api.php?get=users&query=USERNAME");
print_r( json_decode($file));
? >

 

Get Pages

Allow you to retrive the page info

Example of requests:

[GET] https://blamber.ru/api.php?get=pages&query=USERNAME

Example of response:

[page_id] => 1
[page_admin] => 1
[page_category] => 1
[page_name] => blamber
[page_title] => blamber
[page_picture] => https://blamber.ru/content/themes/default/images/blank_page.png
[page_cover] =>
[page_description] => ss
[page_verified] => 0
[page_likes] => 0

An example of json decoding would be the following PHP code:

<?
phpheader('Content-Type: text/plain; charset=utf-8;');
$file = file_get_contents( "https://blamber.ru/api.php?get=pages&query=USERNAME");
print_r( json_decode($file));
? >

 

Get Groups

Allow you to retrive the group info

Example of requests:

[GET] https://blamber.ru/api.php?get=groups&query=USERNAME

Example of response:

[group_id] => 1
[group_admin] => 1
[group_name] => blamber
[group_title] => blamber
[group_picture] => https://blamber.ru/content/themes/default/images/blank_page.png
[group_cover] =>
[group_description] => ss
[group_verified] => 0
[group_members] => 0

An example of json decoding would be the following PHP code:

<?
phpheader('Content-Type: text/plain; charset=utf-8;');
$file = file_get_contents("https://blamber.ru/api.php?get=groups&query=USERNAME");
print_r(json_decode($file));
?>