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.8.10.0.tar.gz
.
File metadata
- Download URL: embyclient-4.8.10.0.tar.gz
- Upload date:
- Size: 232.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7cb7e3ce88391e9298b3fc2d182c6d2b83d6f1c39ff138baa185c58bbd5646b |
|
MD5 | 5e3aa540d5d222302cf103b93a83c266 |
|
BLAKE2b-256 | b390a3e42890a36e36eb8e949dc3cc511dd66e3e7d08cedc890d5f8cb55b17ff |
File details
Details for the file embyclient-4.8.10.0-py3-none-any.whl
.
File metadata
- Download URL: embyclient-4.8.10.0-py3-none-any.whl
- Upload date:
- Size: 542.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af0f8ebd89cfdbdbf15bbbfa0b9d8f5aa539e9ef447f82eecb2f031a44cc4181 |
|
MD5 | 5e17e1edf54818c78b33584e63ae06d0 |
|
BLAKE2b-256 | 193e019eb46d192381bbf969b14f3e75fa6c3327827cb8a854083b0fa81e44f5 |