1.0.4 • Published 7 months ago
cobalt.tools-unofficial v1.0.4
A wrapper around the cobalt.tools API.
This is an unofficial wrapper around the cobalt.tools API, made because it looked interesting.
Changes may or may not be made, but this will be maintained to keep up with newer API versions (if any.)
About
The package exports a class, used to interact with the API.
This class contains 3 methods:
processUrl
- This is used to process a media url.
- Returns api.json.ResponseBody.
getServerInfo
- Gets server info.
- Returns api.serverInfo.ResponseBody.
getApiStream
- Unsure if this should be implemented, but added it anyways.
- Returns api.json.ResponseBody.