Discover
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit.
-
For Fetching Rails
Class : GluedInCuratedContentModule
Method : getCuratedContentList ()
API Request : getCuratedContentList ()
It returns the list of rails. Basically its return all rails with their display position
Response:
-
Response Object : WidgetResponse
-
Message : It is simple string message
-
StatusCode : It return api status code (like 200,201,500,401)
-
Success : It return boolean value, (true/false)
-
data : it return curation data
initialize SDK Method
var curatedContentModuleObj = new GluedIn.GluedInCuratedContentModule;
var curatedContentModuleResponse = await curatedContentModuleObj.getCuratedContentList("discover");
-
For rail Details
Class : GluedInDiscover
Method : getDiscoverTopProfiles ()
API Request : getCuratedContentList ()
Fetch the details of a particular rail. Get details of particular rails info
Request
-
Request Parameter: String
-
RailId : id of the rail fetched from getRail() response
Response:
-
Response Object : WidgetDetailResponse
-
Message: It is simple string message
-
StatusCode : It return api status code (like 200,201,500,401)
-
Success: It return boolean value, (true/false)
-
data : it return curation details
initialize SDK Method
var discoverModuleObj = new GluedIn.GluedInDiscover;
var searchKeyword = “Music”
var topProfileData = await discoverModuleObj.getDiscoverTopProfiles({
"search": searchKeyword
});
-
For Get Hashtag Video Using hashtag name
Class : GluedInHashTag
Method : getHashTagDetails()
Get hashtag details using hashtag name. it will return hashtag details and video attached with hashtag
Request
-
Request Object : hashtagRequest
-
Parameters
-
name : search keyword
-
limit: How many videos you want in a single response
-
offset: it's the current page/offset
Response:
-
Response Object : AllVideoInfo
-
Message: It is simple string message
-
StatusCode : It return api status code (like 200,201,500,401)
-
Success: It return boolean value, (true/false)
-
data : it return video and hashtag info