Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Struggling to get user token #11

Closed
SylCard opened this issue Sep 9, 2019 · 1 comment
Closed

Struggling to get user token #11

SylCard opened this issue Sep 9, 2019 · 1 comment

Comments

@SylCard
Copy link

SylCard commented Sep 9, 2019

Hi Mental32, I've been trying to access my personal spotify data using your top_tracks example. I have a client set up and I understand that I need some user token (user = await client.user_from_token("sometoken"). How can I obtain this token easily, without building some ui?

Thanks for your time

@mental32
Copy link
Owner

You will have to spin a webserver and follow an OAuth2 flow, please see the spotify authorization guide for more details.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants