See here what changed or broke each version.
- Added missing
brightness
attribute to Colour.
- Add support for the new
/supreme
endpoint.
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.
- 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.
-
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 with 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 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
- Fixed hyperlinks to docs and others for PyPi's description.
- Added support for a new endpoint:
.shame()
See more in docs
- Push better README to PyPi
- Fixes
.pornhub()
having the same value for text2.
- Fixed
.drake()
returning a weird image.
This introduced the required token in the constructor to be up to date with the api.
- Added support for a new endpoint:
.what()
See more in docs - Now using urllib.parse to parse text.
- Added
bytesio=True
toImage.read()
set it to False if you want the bytes returned instead of an io.BytesIO object. - Removed
.steam()
. - Added alias for
.colourify()
->colorify
- Added alias for
.colour_image_gradient()
->color_image_gradient
- Added Filters enum for
.filter()
- Changed Icon enum for
.achievement()
and.challenge()
to MinecraftIcons with better docs. - Added an optional
loop
param toalexflipnote.Client()
- Removed
.steam()
. Reason: ratelimited too much - AlexFlipnote - All errors now have text, finally json errors!
- Added "User-Agent"
- Added
__author__
&__license__
next to__version__
- Better README.md
- Added examples to docs.md and fixed typo
- Added dates to changelog.md
- Added missing
.lower()
for.filter()
- docs.md and README.md improvements. New version to update it on PyPi.
- Added an optional
session
param toalexflipnote.Client()
. - Renamed
_session
tosession
- Now these:
"
,'
,(
,)
,+
,,
,-
,.
,/
also get replaced for methods that require text.
- Added support for the new
sepia
filter. snow
filter is more appealing (according to AlexFlipnote)- Added
random
choice for.filter()
. - Added new Exception
InternalServerError
to handle.. internal server errors. - Exceptions don't return any message anymore since it's impossible to get, for now.
- Added support for the new
wide
filter.
- Fixed
alexflipnote.Image.read()
raising a TypeError instead of returning BytesIO.
A complete rewrite which also removed the required package "url_regex".
- New icon for
.achievement()
and.challenge()
"Oak log" at number 45, - Added new support_server method to get an invitation to the AlexFlipnote's server,
- Added changelog and docs look a little better,
- Removed unnecessary things to make code smaller,
- Added type annotations & typehints for autocomplete things..?, better error handeling.
- Passing an Icon object to achievement and challenge now actually works.
I hope its faster and easier to use than ever with no breaking changes (hopefully)
- Fixed
.trash()
having the wrong url format.
- Fixed
.colourify()
not checking properly if color and background wereNone
- Link to docs.md fix on PyPi
- Added missing f-strings for
.amiajoke()
,.bad()
and.colour_image()
- Added back
Steam.SteamProfile.vacbanned
- Enum for
.achievement()
&.challenge()
- Removed
.Steam.SteamProfile.vacbanned
This was almost a rewrite.
- Remove
return_bytes
- Most methods now return a
alexlfipnote.Image
object. - Added docs.md
- Added
.Colour.rgb_values
to get r/g/b values separate for Color
- c and b parameters of
.color()
change to colour and background
.steam()
and.filter()
now raisealexflipnote.NotFound
when user or filter isn't found
Let's not talk about this one