diff --git a/CHANGELOG.md b/CHANGELOG.md index c14002d..0e3b283 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### v1.0.5 - September 6, 2020 +* Added `spin` back because apparently SRA didnt document it. + ### v1.0.4 - September 6, 2020 * Fixed type where you couldn't use the `greyscale` filter * Removed `spin` from filter method, unsure how it even got there diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 5db264e..2148a78 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -173,7 +173,7 @@ Get the definition from a word. ### *await* client.filter(option, url) --- -**Available options:** `gay`, `wasted`, `greyscale`, `invert`, `triggered`, `blur`, `blurple`, `glass`, `pixelate`, `sepia`, `invertgreyscale`, `brightness`, `threshold`, `red`, `green`, `blue` +**Available options:** `gay`, `wasted`, `greyscale`, `invert`, `triggered`, `blur`, `blurple`, `glass`, `pixelate`, `sepia`, `invertgreyscale`, `brightness`, `threshold`, `red`, `green`, `blue`, `spin` **Parameters:**\ **- option** *(string)*: The type of image manipulation you want to use.\ diff --git a/dist/sr_api-1.0.4.tar.gz b/dist/sr_api-1.0.4.tar.gz deleted file mode 100644 index 94bad5d..0000000 Binary files a/dist/sr_api-1.0.4.tar.gz and /dev/null differ diff --git a/dist/sr_api-1.0.5.tar.gz b/dist/sr_api-1.0.5.tar.gz new file mode 100644 index 0000000..d554dba Binary files /dev/null and b/dist/sr_api-1.0.5.tar.gz differ diff --git a/setup.py b/setup.py index f5922b5..a8c93c6 100644 --- a/setup.py +++ b/setup.py @@ -3,13 +3,13 @@ setup( name = 'sr_api', packages = ['sr_api'], - version = '1.0.4', + version = '1.0.5', license='MIT', description = 'An async wrapper for some-random-api', author = 'Niels Steenman', author_email = 'ngssteenman@gmail.com', url = 'https://github.com/iDutchy/sr_api', - download_url = 'https://github.com/iDutchy/sr_api/archive/1.0.4.tar.gz', + download_url = 'https://github.com/iDutchy/sr_api/archive/1.0.5.tar.gz', keywords = ['wrapper', 'api', 'random'], install_requires=['aiohttp'], classifiers=[ diff --git a/sr_api/client.py b/sr_api/client.py index d600555..fc5e3d3 100644 --- a/sr_api/client.py +++ b/sr_api/client.py @@ -148,7 +148,7 @@ async def get_joke(self): async def filter(self, option, url): options = ( 'greyscale', 'invert', 'invertgreyscale', 'brightness', 'threshold', 'sepia', 'red', 'green', 'blue', 'blurple', - 'pixelate', 'blur', 'gay', 'glass', 'wasted', 'triggered') + 'pixelate', 'blur', 'gay', 'glass', 'wasted', 'triggered', 'spin') if option.lower() not in options and option is not None: raise InputError(option.lower() + " is not a valid option!")