Please Wait

Developers

Our API allows you to retrieve information from our website via GET request and find the details below:

Retrieve User Profile

To retrieve a provider user profile details you can issue a request to the url below

http://drmag.ir/api?request=profile&userid={USERNAME}

It return following parameters

array(
'username' => USER_NAME
'name' => USER_FULLNAME
'email' => USER_EMAIL
'website' => USER_WEBSITE
'avatar' => USER_PROFILE_PICTURE
'bio' => USER_BIO
'verified' => USER_VERIFIED
)

Retrieve user posts

http://drmag.ir/api?request=posts&userid={USERNAME}