A framework library to access Muzeek API
Project description
Muzeek SDK for Python
This repository contains the open source Muzeek SDK that allows you to access the Muzeek API from your Python app.
Installation
The Muzeek Python SDK can be installed with Pip. Run this command:
pip install muzeek-sdk
Usage
Simple Muzeek Query Example
import random from muzeek_sdk import Muzeek api = Muzeek({"app_token" : app_token}) haserror = True ## -- Load genre & subgenre list genres = api.genres() if genres != None: ## -- pick a random genre genre = random.sample(genres.keys(), 1) ## -- create a search query query = api.makeQuery(genre, subgenre = None, title = None, tags = None) ## -- request a standard generated music idcard = api.generate(query) if idcard != None: haserror = False ## -- use the data printIDCard(idcard) } }
Api documentation
All mechanisms developed here are documented on our REST API documentation.
License
Please see the license file for more information.
Security Vulnerabilities
If you have found a security issue, please contact the support team directly at support@muzeek.co.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size muzeek_sdk-1.0.0-py3-none-any.whl (7.1 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size muzeek-sdk-1.0.0.tar.gz (5.9 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for muzeek_sdk-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88e0ffc6f4e04e97a121e834f17ab6ee5f29ebd5899550b7c0dc4c7aed86f413 |
|
MD5 | 795a3471a5b3a29cdf67e68a1db51332 |
|
BLAKE2-256 | 92efdad1fd99efda4ca2f40ed2fb4e4fedc3d8298f83f4bec9a67140fbe002b5 |