Skip to content

1.1.0

Latest
Compare
Choose a tag to compare
@Exhabition Exhabition released this 28 Sep 16:53
· 5 commits to main since this release

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 when options.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