Our API allows you to retrieve informations from our website via GET request and supports the following query parameters:
| Name | Meaning | Values | Description | Required |
|---|---|---|---|---|
| type | Query type. | user_data,posts_data,search | This parameter specify the type of the query. | |
| user | Username. | USERNAME | This parameter specify the username | |
| keyword | Keyword for search | KEYWORD | This parameter specify the search keyword | |
| limit | Limit of items. | LIMIT | This parameter specify the limit of items. Max:100 | Default:20 | |
| gender | Gender filter for search | male,female | This parameter specify the users gender | |
| image | Avatar filter for search | yes,no | This parameter specify the users avatar |
type=user_data&user=USERNAME
USERNAME&limit=LIMIT
KEYWORD&limit=LIMIT&image=yes&gender=male
$json_file = file_get_contents("https://example.com/");
Jsonoutput
$json_data = json_decode($json_file);
print_r($json_data);
var url = '/';
$.getJSON(url, function (json) {
....
});
using (var webClient = new System.Net.WebClient()) {
var json = webClient.DownloadString(URL);
// Now parse with JSON.Net
}