Attributes
Includes Deno configuration
Repository
Current version released
7 months ago
sonee
A library to interact with the YouTube Music (InnerTube) api.
Note: This library is still in development, and is not ready for production use.
Usage
sonee works on Deno, Node.js, the browser and any javascript environment that supports ES modules and fetch.
You can read the docs for more information about the usage of each function.
Don’t forget to replace VERSION
with the
latest version
Deno
import { get_song, search } from "https://deno.land/x/sonee@VERSION/mod.ts";
// you can also use the latest version (not recommended) with
// import { get_song, search } from "https://deno.land/x/sonee/mod.ts";
// you can also import directly from github
// import { get_song, search } from "https://raw.githubusercontent.com/vixalien/sonee/VERSION/mod.ts";
search("drake")
.then((data) => {
console.log("search results", data);
});
get_song("dQw4w9WgXcQ")
.then((data) => {
console.log("song", data);
});