embyclient


Nameembyclient JSON
Version 4.9.0.33 PyPI version JSON
download
home_pagehttps://emby.media
SummaryA Python client for Emby Media Server's API
upload_time2024-12-14 00:05:36
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseNone
keywords emby rest api client media server json
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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/2c/da/e94f3d8751c536259fa3b60cc53276e3672d2d2d88fd67137c6897607a42/embyclient-4.9.0.33.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.33",
    "project_urls": {
        "Homepage": "https://emby.media"
    },
    "split_keywords": [
        "emby",
        " rest",
        " api",
        " client",
        " media",
        " server",
        " json"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9bae5081cc18bfe1182fc53fb6ea33087af47f39e5135b83c02933c346e98c9e",
                "md5": "409c6db8aa0be301dcf9e1b51bbcc27a",
                "sha256": "f8dc6d49ee5aeb3835ba3433becd6d8905833292f7c8e87e1b2f6400fc3a9018"
            },
            "downloads": -1,
            "filename": "embyclient-4.9.0.33-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "409c6db8aa0be301dcf9e1b51bbcc27a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 831569,
            "upload_time": "2024-12-14T00:05:34",
            "upload_time_iso_8601": "2024-12-14T00:05:34.325613Z",
            "url": "https://files.pythonhosted.org/packages/9b/ae/5081cc18bfe1182fc53fb6ea33087af47f39e5135b83c02933c346e98c9e/embyclient-4.9.0.33-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2cdae94f3d8751c536259fa3b60cc53276e3672d2d2d88fd67137c6897607a42",
                "md5": "1d7f5a181e8824449a1d0b6ad7e5376a",
                "sha256": "5b04ce152ae4c60f3b9a78531c0daecf6150f2de7fdd7e9fb410d757d8b7632a"
            },
            "downloads": -1,
            "filename": "embyclient-4.9.0.33.tar.gz",
            "has_sig": false,
            "md5_digest": "1d7f5a181e8824449a1d0b6ad7e5376a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 440830,
            "upload_time": "2024-12-14T00:05:36",
            "upload_time_iso_8601": "2024-12-14T00:05:36.710883Z",
            "url": "https://files.pythonhosted.org/packages/2c/da/e94f3d8751c536259fa3b60cc53276e3672d2d2d88fd67137c6897607a42/embyclient-4.9.0.33.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-14 00:05:36",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "embyclient"
}
        
Elapsed time: 0.39440s