Giter Site home page Giter Site logo

librescore / mscz-api Goto Github PK

View Code? Open in Web Editor NEW
9.0 5.0 2.0 12.54 MB

HTTP API based on webmscore to manage MSCZ files.

Home Page: https://mscz-api.librescore.org/

License: GNU General Public License v3.0

TypeScript 94.59% JavaScript 5.41%
mscz musescore sheet-music midi musicxml api http-api

mscz-api's Introduction

mscz-api

This is a HTTP API to manage MSCZ files. The public API is at https://mscz-api.librescore.org/. Source code is under the GPLv3.

Usage

Rate limits

The rate limit is 100 API calls for ten minutes. An API call is one HTTP request.

Metadata

The /meta path takes a MSCZ file through a post request (application/x-musescore). and sends back a JSON file with metadata.

Conversion Formats

For conversion, you POST /<format>/<instrument>. The available formats are midi, mxml, and mmxl. It will return the appropriate mime-type for <format>. <instument> is the ID of the excerpt from the metadata, so a /meta request should be made before conversion. Simply POST /<format> for the full score.

Error codes

Reason Code
400 Invalid format, invalid instrument, or malformed mscz file.

Examples

Examples are available in docs/examples, with an mscz file, its metadata, and the various conversions for that file. All files there were converted with the API. Providing mscz files to convert would help. GeneralUser Orchestral Example provided by Generaluser GS.

mscz-api's People

Contributors

dependabot[bot] avatar sealsrock12 avatar xmader avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  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.