Discover - GluedIn developer
Discover
Discover will get top profiles, trending videos, hashtag, and challenges.
Method Method detail
getCuratedContentList() It returns the list of rails. Basically its return all rails with their display position
getDiscoverTopProfiles() Fetch the details of a particular rail. Get details of particular rails info
getHashTagDetails() Get hashtag details using hashtag name. it will return hashtag details and video attached with hashtag
  • Fetching Rails
    Class : GluedInDiscover
    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");
    
    
    
  • 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
         }); 
    
    
  • 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
Start for free, pay as you grow
No credit card required.