We need to have the ~/catalogue/log endpoint to report radio streaming activity as this is a requirement of the labels.
Right now when I look at the latest API Schema I do not see this method as part of the module.
Documentation on this particular logging method can be found here.
If this method just requires OAuth signing then can just take care of implementing it similar to the previews, streaming, and downloading tracks methods?
Here is what I mean as an example, using your README.md:
var api = require('7digital-api').configure({
consumerkey: 'YOUR_KEY_HERE',
consumersecret: 'YOUR_SECRET_HERE',
defaultParams: {
country: 'es'
}
});
var oauth = new api.OAuth();
var previewUrl = oauth.sign('http://previews.7digital.com/clip/12345');
// For access to locker / subscription streaming without managed users you
// will need to provide the accesstoken and secret for the user
var signedUrl = oauth.sign('https://stream.svc.7digital.net/stream/locker', {
trackId: 1234,
formatId: 26,
accesstoken: 'ACCESS_TOKEN',
accesssecret: 'ACCESS_SECRET'
});
// Requesting this URL will now respond with the media data (or redirect to
// an error).
Let me know and thank you!
Daniel
We need to have the
~/catalogue/logendpoint to report radio streaming activity as this is a requirement of the labels.Right now when I look at the latest API Schema I do not see this method as part of the module.
Documentation on this particular logging method can be found here.
If this method just requires OAuth signing then can just take care of implementing it similar to the previews, streaming, and downloading tracks methods?
Here is what I mean as an example, using your README.md:
Let me know and thank you!
Daniel