Added basic wrapper stuff
- A
Client
class which can have an optional API key - A
MediaPreview
class which can be used to change settings of media URLs easily
(only used whenoptions.useAdvancedPreviews
is toggled)
Client:
.getAccountInfo()
- Returns info about quote and usage
.getSimilarFromURL()
- Gets similar anime based on given URL (and optional settings)
.getSimilarFromBuffer()
- Gets similar anime based on given buffer (and optional settings)
MediaPreview:
.mute()
- Mutes the audio of a media (if the media type is "video")
.setSize()
- Allows changing the quality/size of a media preview (small, medium, large)
Types
All classes and there functions have typings, if you have an issue with typings please create an issue on GitHub and I will gladly take a look at it