All URIs are relative to http://api.madana.io/rest
Method | HTTP request | Description |
---|---|---|
getMyProfile | GET /social/profiles/me | |
getPlatforms2 | GET /social | Returns all Platforms / Systems that can be Connected to the MADANA Service. |
getRanking | GET /social/ranking | Returns the Ranking by PTS within the System. |
getSocialPlatformFeed | GET /social/feed/{platform} | |
getUserProfile | GET /social/profiles/{username} | |
getUserProfile_0 | GET /social/profiles/{username}/simple |
File getMyProfile()
import MadanaApiclient from 'madana-apiclient';
let apiInstance = new MadanaApiclient.SocialServiceApi();
apiInstance.getMyProfile((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
This endpoint does not need any parameter.
File
No authorization required
- Content-Type: Not defined
- Accept: application/json
File getPlatforms2()
Returns all Platforms / Systems that can be Connected to the MADANA Service.
Returns all Platforms / Systems that can be Connected to the MADANA Service
import MadanaApiclient from 'madana-apiclient';
let apiInstance = new MadanaApiclient.SocialServiceApi();
apiInstance.getPlatforms2((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
This endpoint does not need any parameter.
File
No authorization required
- Content-Type: Not defined
- Accept: application/json
File getRanking(opts)
Returns the Ranking by PTS within the System.
Returns the Ranking by PTS within the System
import MadanaApiclient from 'madana-apiclient';
let apiInstance = new MadanaApiclient.SocialServiceApi();
let opts = {
'limit': "'99'", // String |
'offset': "'0'" // String |
};
apiInstance.getRanking(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
limit | String | [optional] [default to '99'] | |
offset | String | [optional] [default to '0'] |
File
No authorization required
- Content-Type: Not defined
- Accept: application/json
File getSocialPlatformFeed(platform)
import MadanaApiclient from 'madana-apiclient';
let apiInstance = new MadanaApiclient.SocialServiceApi();
let platform = "platform_example"; // String |
apiInstance.getSocialPlatformFeed(platform, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
platform | String |
File
No authorization required
- Content-Type: Not defined
- Accept: application/json
File getUserProfile(username, opts)
import MadanaApiclient from 'madana-apiclient';
let apiInstance = new MadanaApiclient.SocialServiceApi();
let username = "username_example"; // String |
let opts = {
'simple': "'false'" // String |
};
apiInstance.getUserProfile(username, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
username | String | ||
simple | String | [optional] [default to 'false'] |
File
No authorization required
- Content-Type: Not defined
- Accept: application/json
File getUserProfile_0(username)
import MadanaApiclient from 'madana-apiclient';
let apiInstance = new MadanaApiclient.SocialServiceApi();
let username = "username_example"; // String |
apiInstance.getUserProfile_0(username, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
username | String |
File
No authorization required
- Content-Type: Not defined
- Accept: application/json