Skip to content

Commit

Permalink
Deprecating ganimal
Browse files Browse the repository at this point in the history
  • Loading branch information
Kile committed Oct 11, 2021
1 parent f1e9ad0 commit 0aabe54
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ glitch = await pxl.glitch(images=["https://cdn.discordapp.com/avatars/6061626611
# Docs
There is no website offering documentation, however if you hover over a function in your IDE it will give you some info about what it does, you can also just read the source code. For an example in a discord bot, please click [here](https://github.com/Kile/pypxl/blob/main/examples/glitch_discord.markdown)

I have implemented most functions this library offers in commands in my bot. You can find those commands [here](https://github.com/Kile/Killua/blob/main/killua/cogs/pxlapi.py)
I have implemented most functions this library offers in commands in my bot. You can find those commands [here](https://github.com/Kile/Killua/blob/main/killua/cogs/image_manipulation.py)

For questions and suggestions, join my discord server or dm me (`Kile#0606`)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[tool.poetry]
name = "pypxl"
version = "0.2.2"
version = "0.2.3"
description = "An Asynchronos API wrapper for https://pxlapi.dev"
license = "MIT"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion pypxl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
__author__ = "Kile"
__license__ = "MIT"
__copyright__ = "Copyright 2021 Kile"
__version__ = "0.2.2"
__version__ = "0.2.3"

from .client import PxlClient
15 changes: 0 additions & 15 deletions pypxl/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,21 +132,6 @@ async def flag(self, flag:str, images:List[str], opacity:int=128) -> PxlObject:
}
return await self._get_img(f'flag/{flag.lower()}', body)

async def ganimal(self, images:List[str]) -> PxlObject:
"""
Turns the provided images into images with animal faces
# Parameters:
`images (list)`: The images to proccess
# Returns:
`PxlObject`
"""
body = {
'images': images
}
return await self._get_img('ganimal', body)

async def ajit(self, images:List[str]) -> PxlObject:
"""
Overlays an image of Ajit Pai snacking on some popcorn
Expand Down

0 comments on commit 0aabe54

Please sign in to comment.