Skip to main content

Flat API Client

Project description

Build Status

The Flat API allows you to easily extend the abilities of the Flat Platform, with a wide range of use cases including the following: - Creating and importing new music scores using MusicXML or MIDI files - Browsing, updating, copying, exporting the user’s scores (for example in MP3, WAV or MIDI) - Managing educational resources with Flat for Education: creating & updating the organization accounts, the classes, rosters and assignments.

You can find the API reference including code samples and our OpenAPI Specification at the following url:

To request some API credentials, please visit

This Python package is automatically generated by the Swagger Codegen project.


Python 2.7 and 3.4+

Installation & Usage

pip install

pip install flat_api
pip install git+

Then import the package:

import flat_api


Install via Setuptools.

python install --user

(or sudo python install to install the package for all users)

Then import the package:

import flat_api

Getting Started

Please follow the installation procedure above and then run the following:

from __future__ import print_function
import time
import flat_api
from import ApiException
from pprint import pprint

configuration = flat_api.Configuration()
# Configure your personal access token or OAuth2 access token
configuration.access_token = 'YOUR_ACCESS_TOKEN'
flat_api_client = flat_api.ApiClient(configuration)

# create an instance of the API class
api_instance = flat_api.AccountApi(flat_api_client)

    # Get current user profile
    api_response = api_instance.get_authenticated_user()
except ApiException as e:
    print("Exception when calling AccountApi->get_authenticated_user: %s\n" % e)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for flat-api, version 0.7.0
Filename, size File type Python version Upload date Hashes
Filename, size flat_api-0.7.0.tar.gz (94.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page