Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last.fm #32

Open
1 of 2 tasks
oak86 opened this issue Jun 21, 2022 · 2 comments
Open
1 of 2 tasks

Last.fm #32

oak86 opened this issue Jun 21, 2022 · 2 comments

Comments

@oak86
Copy link

oak86 commented Jun 21, 2022

Name
Last.fm

Link
https://www.last.fm/api

What does the API do/offer
last.fm scrobbles the music you listen to across different apps. This would allow you to create a listening journal in Obsidian that pulls information on what you've heard and then lets you to add details to it.

  • Is the API free to use
  • Does the API require authentication
@AkhirAlibhai
Copy link

It just needs an API key.
Could do it the same as the OMDb API key, and also have the user put their username in a field.

For implementation, I'd add a new command called Create Media DB entry (Music Stats), having a drop-down for the different kinds of options.
These options can include:

  • Loved Tracks
  • Recent Tracks
  • Top Albums
  • Top Artists
  • Top Tags
  • Top Tracks

Just listing some of the user endpoints.

Would also want a means to refresh this information. When selecting an option that's been selected before, give the user an option to either refresh the information, or create a new note. Primarily done if people want to maintain a history.

If that sounds good I'll start on it!

@mProjectsCode
Copy link
Owner

The general search functionality can be added to the existing API structure.
For the account-specific things a command called something like Import last.fm listening data and then a modal where the user can select which data to import would be the best option. The modal could also include a toggle to create a new note or override the existing note.

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

No branches or pull requests

3 participants