Coder Social home page Coder Social logo

musescore-metadata's Introduction

Musescore Metadata

Fetch score metadata from Musescore link.

Usage

const muse = require("musescore-metadata");
const metadata = await muse(/* Musescore link */);

Example

Code

const muse = require("musescore-metadata");
const metadata = await muse("https://musescore.com/user/31734019/scores/5573180");
console.log(metadata);

Output

{
  "id": 5573180,
  "title": "Surviv.io Saloon Music",
  "thumbnail": "https://musescore.com/static/musescore/scoredata/g/7cb72b8453d52b7f20417371678185640950a3c4/score_0.png@500x660?no-cache=1607777113&bgclr=ffffff",
  "parts": [ "Piano" ],
  "url": "https://musescore.com/user/31734019/scores/5573180",
  "user": {
    "id": 31734019,
    "name": "NorthWestWind",
    "url": "https://musescore.com/user/31734019",
    "image": "https://musescore.com/static/musescore/userdata/avatar/default.jpg@150x150?cache=0",
    "is_pro": false,
    "is_staff": false,
    "cover_url": "https://musescore.com/static/musescore/userdata/cover/f/a/4/31734019.jpg?cache=0",
    "date_created": 1554279087
  },
  "duration": "00:35",
  "pageCount": 1,
  "created": 1558102538,
  "updated": 1607777113,
  "description": "I can't find any piano sheet on the internet so I created it myself :D",
  "tags": [ "Surviv.io" ],
  "firstPage": "https://musescore.com/static/musescore/scoredata/g/7cb72b8453d52b7f20417371678185640950a3c4/score_0.png"
}

musescore-metadata's People

Contributors

north-west-wind avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.