discord-spotify


Namediscord-spotify JSON
Version 0.1.5 PyPI version JSON
download
home_pagehttps://github.com/iayushanand/discord-spotify
SummaryA Python package to retrieve detailed Spotify album images for Discord integration.
upload_time2023-09-06 14:29:29
maintainer
docs_urlNone
authorAyu Itz
requires_python>=3.6
license
keywords discord spotify spotify-wrapper image
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # DISCORD-SPOTIFY

[![Downloads](https://static.pepy.tech/badge/cbvx)](https://pepy.tech/project/cbvx)

A Python package to retrieve detailed Spotify album images for Discord integration.



`example.py`
```py
import discord
from discord.ext import commands
from discord_spotify import spotify

bot = commands.Bot(
    command_prefix=",",
    intents=discord.Intents.all(),
    allowed_mentions=discord.AllowedMentions.none()
)

@bot.command(name="spotify")
async def spotif(ctx: commands.Context, member: discord.Member = None):
    member = member or ctx.author
    client = spotify.Spotify(bot=bot, member=member)
    content, image, view = await client.get()
    await ctx.reply(content=content, file=image, view=view)

bot.run("token")
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/iayushanand/discord-spotify",
    "name": "discord-spotify",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "discord spotify spotify-wrapper image",
    "author": "Ayu Itz",
    "author_email": "icontactayu@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/e9/5b/5a92be88833898801dcbf9b48232bcf497b88d41fdb649a0a2c03a85d88a/discord-spotify-0.1.5.tar.gz",
    "platform": null,
    "description": "# DISCORD-SPOTIFY\n\n[![Downloads](https://static.pepy.tech/badge/cbvx)](https://pepy.tech/project/cbvx)\n\nA Python package to retrieve detailed Spotify album images for Discord integration.\n\n\n\n`example.py`\n```py\nimport discord\nfrom discord.ext import commands\nfrom discord_spotify import spotify\n\nbot = commands.Bot(\n    command_prefix=\",\",\n    intents=discord.Intents.all(),\n    allowed_mentions=discord.AllowedMentions.none()\n)\n\n@bot.command(name=\"spotify\")\nasync def spotif(ctx: commands.Context, member: discord.Member = None):\n    member = member or ctx.author\n    client = spotify.Spotify(bot=bot, member=member)\n    content, image, view = await client.get()\n    await ctx.reply(content=content, file=image, view=view)\n\nbot.run(\"token\")\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A Python package to retrieve detailed Spotify album images for Discord integration.",
    "version": "0.1.5",
    "project_urls": {
        "Homepage": "https://github.com/iayushanand/discord-spotify"
    },
    "split_keywords": [
        "discord",
        "spotify",
        "spotify-wrapper",
        "image"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3e95b1ca4f5d85c0dbe3c93d28e3f9f970ea00d9e5c9d9b25dd2a658fa7923a7",
                "md5": "d506f9d05cb9042ce426b881971bbcbb",
                "sha256": "6a1c91b34e97f24b6de7eaed946c2af452b16332510c810f6e24e98992dc6308"
            },
            "downloads": -1,
            "filename": "discord_spotify-0.1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d506f9d05cb9042ce426b881971bbcbb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 39838,
            "upload_time": "2023-09-06T14:29:27",
            "upload_time_iso_8601": "2023-09-06T14:29:27.037502Z",
            "url": "https://files.pythonhosted.org/packages/3e/95/b1ca4f5d85c0dbe3c93d28e3f9f970ea00d9e5c9d9b25dd2a658fa7923a7/discord_spotify-0.1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e95b5a92be88833898801dcbf9b48232bcf497b88d41fdb649a0a2c03a85d88a",
                "md5": "cab362785ecbd4067a6cc88ab945dc1c",
                "sha256": "3e595c519e999f0f1858ddfc85a0523f887d75cfaa1e8748ff2084ca3d158b8f"
            },
            "downloads": -1,
            "filename": "discord-spotify-0.1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "cab362785ecbd4067a6cc88ab945dc1c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 40716,
            "upload_time": "2023-09-06T14:29:29",
            "upload_time_iso_8601": "2023-09-06T14:29:29.287670Z",
            "url": "https://files.pythonhosted.org/packages/e9/5b/5a92be88833898801dcbf9b48232bcf497b88d41fdb649a0a2c03a85d88a/discord-spotify-0.1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-06 14:29:29",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "iayushanand",
    "github_project": "discord-spotify",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "discord-spotify"
}
        
Elapsed time: 0.40322s