Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aiospotipy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aiospotipy

an API wrapper for Spotify

  • 0.0.2
  • PyPI
  • Socket score

Maintainers
1

Aiospotipy

aiospotipy is an API wrapper for Spotify written in python.

This is based on asyncio and spotipy.

Installing

This package can be installed in pip:

pip install aiospotipy

Of course, you can install the package manually after cloning the repository:

git clone https://github.com/sizumita/aiospotipy.git
cd aiospotipy
python setup.py install

Quick Example

from aiospotipy import Spotify

auth = "xxxxxxxxxxxxxx"
spotify = Spotify(auth=auth)


# Search for an artist by its name
search_results = await spotify.search_artist(q="kalafina")

from aiospotipy import Spotify
from aiospotipy.oauth2 import SpotifyCredentials

spotify = Spotify(SpotifyCredentials("CLIENT_ID", "CLIENT_SECRET"))


# Search for an track by its id
search_results = await spotify.search(q='3n3Ppam7vgaVa1iaRUc9Lp', _type='track')

# Show my playlists:
my_playlists = await spotify.me.playlists()

License

This project is licensed under the MIT Licence.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc