Skip to content

Releases: Soheab/alexflipnote.py

Added missing ``brightness`` attribute to Colour.

17 Dec 17:10
Compare
Choose a tag to compare

What's Changed

  • Added missing brightness attribute to Colour.

Full Changelog: v4.0.1...v4.0.2

Add support for the new `/supreme` endpoint.

12 Feb 16:29
2644bc7
Compare
Choose a tag to compare

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

08 Dec 17:15
Compare
Choose a tag to compare

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.

12 Dec 22:45
Compare
Choose a tag to compare

v3.0.0 - December 12, 2021

  • Python version bumped to >=3.8
  • Addeed typings.
  • Removed token argument.
  • Removed loop kwarg from Client() 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 to Colour.gradient.
  • Colour.blackorwhite_text renamed to Colour.black_or_white_text.
  • Colour.shade renamed to Colour.shades.
  • Colour.tint renamed to Colour.tints.
  • Colour.rgb now returns a RGB object.
  • Colour.rgb_values renamed to Colour.rgb.
  • Added Colour.rgb_string this returns a string in the format rgb(r, g, b) which was previously returned by Colour.rgb.
  • Rewritten HTTPSession to HTTPClient.
  • Rewritten the docs.

Some nice additions and changes.

04 May 21:33
Compare
Choose a tag to compare
  • 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.

12 Feb 20:17
Compare
Choose a tag to compare

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

10 Feb 22:37
Compare
Choose a tag to compare

v2.2.0 - February 10, 2021

  • Added support for new Filter: flip

Fixed hyperlinks to docs and others for PyPi's description.

09 Jan 16:21
Compare
Choose a tag to compare

v2.1.1 - January 9, 2021

  • Fixed hyperlinks to docs and others for PyPi's description.

Add support for shame endpoint.

03 Jan 21:28
e89206f
Compare
Choose a tag to compare

v2.1.0 - January 3, 2021

Fix pornhub and cleanup README

24 Nov 19:14
Compare
Choose a tag to compare

v2.0.2 - November 24, 2020

  • Push better README to PyPi
  • Fixes .pornhub() having the same value for text2.