Releases: Soheab/alexflipnote.py
Releases · Soheab/alexflipnote.py
Added missing ``brightness`` attribute to Colour.
Add support for the new `/supreme` endpoint.
What's Changed
- Fix links and example in docs by @Soheab in #10
- Add support for the new
/supreme
endpoint. by @Soheab in #11
Full Changelog: v4.0.0...v4.0.1
Add support for new endpoints + full rewrite
v4.0.0 - December 8, 2022
Ayo another major release! A lot of endpoints that were previously removed are now back!!
- Full rewrite of the library.
- Added support for new endpoints:
achievement, challenge, captcha, didyoumean, drake, facts, scroll, pornhub,
and probably more. - Updated the
colour
endpoint to support the new fields, you'll need to update your code to use the new fields. - Rewritten the docs again to be more readable and split up into multiple pages.
- Library should be fully typed now.
- Changed license from MIT to MPL-2.0.
Probably the last update.
v3.0.0 - December 12, 2021
- Python version bumped to >=3.8
- Addeed typings.
- Removed token argument.
- Removed
loop
kwarg fromClient()
constructor. - Removed following methods:
achievement, amiajoke, bad, calling, captcha, challenge, colour_image, colour_image_gradient, colourify, did_you_mean, drake, facts, filter, floor, fml, joke_overhead, pornhub, salty, shame, scroll, ship, supreme, trash, what
. - Removed the following classes:
Image, MinecraftIcons, Filters, MissingTokens
- Added the following classes:
RGB
Colour.image_gradient
renamed toColour.gradient
.Colour.blackorwhite_text
renamed toColour.black_or_white_text
.Colour.shade
renamed toColour.shades
.Colour.tint
renamed toColour.tints
.Colour.rgb
now returns aRGB
object.Colour.rgb_values
renamed toColour.rgb
.- Added
Colour.rgb_string
this returns a string in the formatrgb(r, g, b)
which was previously returned byColour.rgb
. - Rewritten
HTTPSession
toHTTPClient
. - Rewritten the docs.
Some nice additions and changes.
- Added new method:
.coffee()
. Makes a request to https://coffee.alexflipnote.dev which then returns a random coffee image URL. - Token is no longer required due to the following method not requiring a token anymore:
colour, colour_image, colour_image_gradient, birb, dogs, sadcat, cats, coffee
. - New Exception added:
MissingToken
, this is raised when a method that is not listed above is used without a token being present in the constructor. - Removed
.github_colours()
since the endpoint it used is gone. .colour()
.colour_image()
and.colour_image_gradient()
now accepts a "python like hex". E.g, 0x9a6b48. Also, it can take a # now.- Suggestions are as always welcome, you can ping me in the AlexFlipnote server, #general_developers channel.
Added support for filter: mirror and rewritten docs.
v2.3.0 - February 12, 2021
- Added support for new Filter: mirror
- Added colourify to the docs. For some reason this wasn't there since the beginning.
- Rewritten the docs to be easier to read and understand. Go To Docs
Added support for new filter: flip
v2.2.0 - February 10, 2021
- Added support for new Filter: flip
Fixed hyperlinks to docs and others for PyPi's description.
v2.1.1 - January 9, 2021
- Fixed hyperlinks to docs and others for PyPi's description.
Add support for shame endpoint.
v2.1.0 - January 3, 2021
- Added support for a new endpoint:
.shame()
See more in docs
Fix pornhub and cleanup README
v2.0.2 - November 24, 2020
- Push better README to PyPi
- Fixes
.pornhub()
having the same value for text2.