# Emby Python Client
A Python client for Emby Media Server's API.
**NOTE**: The [original source code](https://github.com/MediaBrowser/Emby.SDK/tree/master/SampleCode/RestApi/Clients/Python) 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](https://github.com/MediaBrowser/Emby.SDK)
## Python Version Support
Python 2.7 (deprecated) or 3.4+
## Installation
Install via [pip](https://pypi.org/project/embyclient/):
```sh
pip install embyclient
```
## Usage
Import the package:
```python
import embyclient
```
Configure a client instance:
```python
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:
```python
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](https://swagger.emby.media/?staticview=true).
Raw data
{
"_id": null,
"home_page": "https://emby.media",
"name": "embyclient",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "Emby, Rest, API, client, media, server, JSON",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/90/a1/0cdcb271f3c29d8ac230f1164129fa364b4f2684fef84e29c35458104c16/embyclient-4.9.0.31.tar.gz",
"platform": null,
"description": "# Emby Python Client\n\nA Python client for Emby Media Server's API. \n\n**NOTE**: The [original source code](https://github.com/MediaBrowser/Emby.SDK/tree/master/SampleCode/RestApi/Clients/Python) for this client is auto-generated by Emby's OpenAPI spec.\nThis specific client is an automated release of the source code with some minor modifications.\nAny bugs or issues with the client should be reported to the [Emby SDK repository](https://github.com/MediaBrowser/Emby.SDK)\n\n## Python Version Support\n\nPython 2.7 (deprecated) or 3.4+\n\n## Installation\n\nInstall via [pip](https://pypi.org/project/embyclient/):\n\n```sh\npip install embyclient\n```\n\n## Usage\n\nImport the package:\n\n```python\nimport embyclient\n```\n\nConfigure a client instance:\n\n```python\nimport embyclient\nfrom embyclient.rest import ApiException\n\n# Configure API key authorization: apikeyauth\nconfiguration = embyclient.Configuration()\nconfiguration.api_key['api_key'] = 'YOUR_API_KEY'\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['api_key'] = 'Bearer'\n\n# create an instance of the API class\nclient = embyclient.ApiClient(configuration)\n```\n\nThen use the client to interact via specific API services:\n\n```python\nactivity_log_service = embyclient.ActivityLogServiceApi(client)\n\ntry:\n # Gets activity log entries\n api_response = activity_log_service.get_activity_log_entries(start_index=56, limit=56, min_date='min_date_example')\n print(api_response)\nexcept ApiException as e:\n print(\"Exception when calling ActivityLogServiceApi->get_activity_log_entries: %s\\n\" % e)\n```\n\n## Documentation\n\nFor more information, please visit [Emby's API documentation](https://swagger.emby.media/?staticview=true).\n",
"bugtrack_url": null,
"license": null,
"summary": "A Python client for Emby Media Server's API",
"version": "4.9.0.31",
"project_urls": {
"Homepage": "https://emby.media"
},
"split_keywords": [
"emby",
" rest",
" api",
" client",
" media",
" server",
" json"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2e302192a147f69dbe5f086e4ebee0a9a84bf738bb5823ff315da948a23dff55",
"md5": "67ecba489535cac4e1db803becc6ea16",
"sha256": "a894159aee8709738cd456d9d9eabada349ba520fdbba3d522c7435bb513e74b"
},
"downloads": -1,
"filename": "embyclient-4.9.0.31-py3-none-any.whl",
"has_sig": false,
"md5_digest": "67ecba489535cac4e1db803becc6ea16",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 831662,
"upload_time": "2024-11-08T00:06:02",
"upload_time_iso_8601": "2024-11-08T00:06:02.717435Z",
"url": "https://files.pythonhosted.org/packages/2e/30/2192a147f69dbe5f086e4ebee0a9a84bf738bb5823ff315da948a23dff55/embyclient-4.9.0.31-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "90a10cdcb271f3c29d8ac230f1164129fa364b4f2684fef84e29c35458104c16",
"md5": "5833d97d8ebe0f3f62bc4437f04d495f",
"sha256": "6298eac7d6cbb7eadd510bb4d56098a473d2e9a704fcc6725aa5e74acae5dacb"
},
"downloads": -1,
"filename": "embyclient-4.9.0.31.tar.gz",
"has_sig": false,
"md5_digest": "5833d97d8ebe0f3f62bc4437f04d495f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 441070,
"upload_time": "2024-11-08T00:06:04",
"upload_time_iso_8601": "2024-11-08T00:06:04.832515Z",
"url": "https://files.pythonhosted.org/packages/90/a1/0cdcb271f3c29d8ac230f1164129fa364b4f2684fef84e29c35458104c16/embyclient-4.9.0.31.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-08 00:06:04",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "embyclient"
}