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
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.
Source Distribution
Built Distribution
File details
Details for the file embyclient-4.9.0.29.tar.gz
.
File metadata
- Download URL: embyclient-4.9.0.29.tar.gz
- Upload date:
- Size: 440.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9443ea1423d0d60757337671b14211d8b2aa98edef7988f7ac6b6d3a9b987447 |
|
MD5 | c91b35a653e4f8cca935c5b0b9bd8f8f |
|
BLAKE2b-256 | ee1c2a883b107bd4fec7e538bafcad3a607f82e26728bcc756dbb887640c2d71 |
File details
Details for the file embyclient-4.9.0.29-py3-none-any.whl
.
File metadata
- Download URL: embyclient-4.9.0.29-py3-none-any.whl
- Upload date:
- Size: 831.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2885ff812288c6ad58cad1c141dc9744bc2bb68bb619ed5250a83ee5a8ba200a |
|
MD5 | ff17fbaa1623a6f01b2cb7d148b1f2d0 |
|
BLAKE2b-256 | 8728874744c24ce598ddd2f63fbacd561fe215767f086499e79a62b8c5edf00f |