Sr-api

Latest version: v1.1.3

Safety actively analyzes 629564 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

1.0.4

* Fixed type where you couldn't use the `greyscale` filter
* Removed `spin` from filter method, unsure how it even got there

1.0.3

* You can now get the url from methods that return an `Image` object by casting the object to `str`

1.0.2

* Fixed passing a key in `Client`

1.0.1

* Added "key" to `Client.__slots__`

1.0

* Renamed `Client.beta()` to `Client.filter()` since its no longer a beta feature
* Added `whale` and `pikachu` to `Client.get_image()`
* Added `invertgreyscale`, `brightness`, `threshold`, `red`, `green` & `blue` to `Client.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 in `Client.get_image()`

0.4

* Fixed issue with beta endpoint

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.