mirror of
https://gitlab.com/deeplydrumming/DeemixFix.git
synced 2026-01-17 17:32:57 -03:00
12 lines
256 B
JavaScript
12 lines
256 B
JavaScript
const SpotifyWebApi = require('../../../')
|
|
|
|
const spotifyApi = new SpotifyWebApi()
|
|
spotifyApi.setAccessToken(process.env.SPOTIFY_ACCESS_TOKEN);
|
|
|
|
(async () => {
|
|
const me = await spotifyApi.getMe()
|
|
console.log(me)
|
|
})().catch(e => {
|
|
console.error(e)
|
|
})
|