1
最近我正在使用dailymotion視頻API。但我不知道如何將返回的數據轉換爲我的ASP.NET C#應用程序。從Dailymotion獲取視頻數據
GET
https://api.dailymotion.com/videos?search=fun&page=3
結果
{ "page": 1,
"limit": 2,
"total": 218248,
"has_more": true,
"list": [
{ "id": "xrk9mi",
"title": "Priyanka & Shahid Kapoor get MOBBED in local train",
"channel": "fun",
"owner": "xlw7uu"
},
{ "id": "xrk8fy",
"title": "What's Up With Gaga?: Hit On Head, Perfume Bottle Leaked, Thai Fans Angry",
"channel": "music",
"owner": "xofeoz" }
]
}
非常感謝您!你讓我今天一整天都感覺很好。 – My2ndLovE
另一個問題,如何將videoList綁定到中繼器? – My2ndLovE
哪個,DailyMotionVideo(哪個不是列表)或DailyMotionVideoList?無論如何,假設中繼器被命名爲'rpt',它將是'rpt.DataSource = videoList; rpt.DataBind();' – jcolebrand