Releases: iDutchy/sr_api
Releases · iDutchy/sr_api
v1.0
- Renamed
Client.beta()
toClient.filter()
since its no longer a beta feature - Added
whale
andpikachu
toClient.get_image()
- Added
invertgreyscale
,brightness
,threshold
,red
,green
&blue
toClient.filter()
- Added
Client.youtube_comment()
- Added
Client.view_color()
- Added
Client.rgb_to_hex()
- Added
Client.hex_to_rgb()
- Added
Client.get_joke()
- Added support for using premium. Provide your premium key in the Client init like
client = sr_api.Client("key here")
. Dont provide a key if you dont have one. - Removed
Client.get_pikachu()
which is now available inClient.get_image()
Fix
Optimizations + API update
This update brings some important changes.
Added:
MCuser.uuid - minecraft user id
Removed:
MCuser.trimmed_uuid
MCuser.full_uuid
Changed:
MCuser.formatted_history & MCuser.reversed_formatted_history are now properties in stead of coroutines (idk why I did that)
Lyrics.save() is no longer a coroutine either
Overall optimizations
Beta Fix
Mistake fix
Fixed crucial mistake I made in last update
Meme fixes
- Fix:
Meme.read()
and Meme.save()
have been fixed. Where they used self.url
before they now use the proper self.image
.
- Import change:
In stead of doing from sr_api.client import Client
you will now have to do import sr_api
then client = sr_api.Client()