16 lines
370 B
TypeScript
16 lines
370 B
TypeScript
import bcfetch from '../../';
|
|
import util from 'util';
|
|
|
|
const trackUrl = 'https://musique.coeurdepirate.com/track/tes-belle';
|
|
|
|
const params = {
|
|
trackUrl,
|
|
albumImageFormat: 'art_app_large',
|
|
artistImageFormat: 'bio_featured',
|
|
includeRawData: false
|
|
};
|
|
|
|
bcfetch.track.getInfo(params).then((results) => {
|
|
console.log(util.inspect(results, false, null, false));
|
|
});
|