Skip to content

Some nice additions and changes.

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