Can we links video when we records on xbox one ?
Exemple: I wanna links all video of my community on my sports forum. People can see a Gread Goal or good move, stuff.
public function getAccessToken($user_id);
$user = XenForo_Visitor::getInstance()->toArray();
$token = $this->getAccessToken($user['user_id']);
$options = array(
'headers' => array(
'Content-Type' => 'application/json',
'X-Authorization' => $token,
'X-Contract' => 100
)
);
$gameClips = $this->call('GET', $this->getOpenXBLAPIBase() . '/dvr/gameclips', $options);
{
"data":[
{
"gameClips":[
{
"gameClipId":"2f2773a3-2588-4208-99ef-ee3a33a827fa",
"state":"Published",
"datePublished":"2017-01-18T02:51:06.5037957Z",
"dateRecorded":"2017-01-18T02:36:08Z",
"lastModified":"2017-01-18T02:51:06.5037957Z",
"userCaption":"",
"type":"UserGenerated",
"durationInSeconds":28,
"scid":"000000-7d7f-4105-000-3ec552a4c121",
"titleId":1386529057,
"rating":0,
"ratingCount":0,
"views":1,
"titleData":"",
"systemProperties":"cc4be625-f41a-000-000-306d8ad9074f;",
"savedByUser":true,
"achievementId":"",
"greatestMomentId":"",
"thumbnails":[
{
"uri":"https:\/\/gameclipscontent-t2008.xboxlive.com\/000900000076001d-2f2773a3-2588-4208-99ef-ee3a33a827fa-public\/Thumbnail_Small.PNG?sv=2014-02-14&sr=b&si=DefaultAccess&sig=J0NJUtihY6uoytzGb05tR9w5olWdVRVUN7stETScGwI%3D",
"fileSize":131612,
"thumbnailType":"Small"
},
{
"uri":"https:\/\/gameclipscontent-t2008.xboxlive.com\/000900000076001d-2f2773a3-2588-4208-99ef-ee3a33a827fa-public\/Thumbnail_Large.PNG?sv=2014-02-14&sr=b&si=DefaultAccess&sig=rFpdeOpLm0Q3kO%2Fec%2Bfwq3DOCZYmmmfa9gB5sMNeaw0%3D",
"fileSize":448664,
"thumbnailType":"Large"
}
],
"gameClipUris":[
{
"uri":"https:\/\/gameclipscontent-d2008.xboxlive.com\/000900000076001d-2f2773a3-2588-4208-99ef-ee3a33a827fa\/GameClip-Original.MP4?sv=2014-02-14&sr=b&si=DefaultAccess&sig=HaLqfXPL%2FL63UC0quNKYXPCLbjrkJjsyb0LOhJDpJdU%3D&__gda__=1491251496_23324c1e1831729d92c903368185233f",
"fileSize":16639957,
"uriType":"Download",
"expiration":"2017-04-03T20:31:36.921291Z"
}
],
"xuid":"123456789102",
"clipName":"",
"titleName":"Battlefield\u2122 1",
"gameClipLocale":"en-US",
"clipContentAttributes":"None",
"deviceType":"XboxOne",
"commentCount":0,
"likeCount":0,
"shareCount":0,
"partialViews":0
},
Is it possible to test this out locally before putting it out live first? I didn't see any documentation on that although I may have missed it. Thanks!
Thanks! Looking forward to the update!Hi @AzzidReign!
Yes I am the owner of https://xbl.io (OpenXBL)
Subscriptions will activate at the same time as the next update of this module (which will be in the next two weeks). The API is open to use for all developers and the code for this module is available on GitHub. The update will include Xbox Live DVR and Xbox Live Messages. I will have some pictures of the update to share within the next few days.
What's new?
Announcement
- Xbox DVR
- Xbox Live Messages
- Showcase / Hub
Subscriptions on https://xbl.io will be going live sometime this weekend or early next week. By default everyone has 500/requests per hour.
Closing Statement
Code is on GitHub. As always, feel free to contribute or ask for help. If you like the add-on please considering giving a review / rating! Thank you kindly.
We use essential cookies to make this site work, and optional cookies to enhance your experience.