A Python client for Emby Media Server's API
Project description
Emby Python Client
A Python client for Emby Media Server's API.
NOTE: The original source code for this client is auto-generated by Emby's OpenAPI spec. This specific client is an automated release of the source code with some minor modifications. Any bugs or issues with the client should be reported to the Emby SDK repository
Python Version Support
Python 2.7 (deprecated) or 3.4+
Installation
Install via pip:
pip install embyclient
Usage
Import the package:
import embyclient
Configure a client instance:
import embyclient
from embyclient.rest import ApiException
# Configure API key authorization: apikeyauth
configuration = embyclient.Configuration()
configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['api_key'] = 'Bearer'
# create an instance of the API class
client = embyclient.ApiClient(configuration)
Then use the client to interact via specific API services:
activity_log_service = embyclient.ActivityLogServiceApi(client)
try:
# Gets activity log entries
api_response = activity_log_service.get_activity_log_entries(start_index=56, limit=56, min_date='min_date_example')
print(api_response)
except ApiException as e:
print("Exception when calling ActivityLogServiceApi->get_activity_log_entries: %s\n" % e)
Documentation
For more information, please visit Emby's API documentation.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
embyclient-4.8.8.0.tar.gz
(232.7 kB
view hashes)
Built Distribution
embyclient-4.8.8.0-py3-none-any.whl
(542.0 kB
view hashes)
Close
Hashes for embyclient-4.8.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2b628737f51fc1fbdbee613fac72601142a79c09788ba1aef3a3f8b152db9a7 |
|
MD5 | 14e40cc03c3b02589204c7af143c5269 |
|
BLAKE2b-256 | f53f27fa5f3830cf14da9c0f771247634133bd68a30ac919e5b3d8b699341327 |