embyclient


Nameembyclient JSON
Version 4.8.5.0 PyPI version JSON
download
home_pagehttps://emby.media
SummaryA Python client for Emby Media Server's API
upload_time2024-04-21 16:05:22
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/d4/d4/72b73725553f3e575dc1d4043ab60297278e27144955cc8cebb097830cfd/embyclient-4.8.5.0.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.8.5.0",
    "project_urls": {
        "Homepage": "https://emby.media"
    },
    "split_keywords": [
        "emby",
        " rest",
        " api",
        " client",
        " media",
        " server",
        " json"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "327346b41bd2d2c2d5eb86a032344dfaa5857e403bacc8064502d17840203fca",
                "md5": "55a0d102206cf75800912ff9663a59b1",
                "sha256": "60a07d53ecb015d7f658c878820d6b9067ddfcc183c7860a62cc605e75999b78"
            },
            "downloads": -1,
            "filename": "embyclient-4.8.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "55a0d102206cf75800912ff9663a59b1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 541534,
            "upload_time": "2024-04-21T16:05:20",
            "upload_time_iso_8601": "2024-04-21T16:05:20.601632Z",
            "url": "https://files.pythonhosted.org/packages/32/73/46b41bd2d2c2d5eb86a032344dfaa5857e403bacc8064502d17840203fca/embyclient-4.8.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d4d472b73725553f3e575dc1d4043ab60297278e27144955cc8cebb097830cfd",
                "md5": "3ec97b6333813dae15558e2fe3ee3427",
                "sha256": "d054906029a93a83ddb9616d24fa03a894065fa33a9bd711a31716a0e95aae08"
            },
            "downloads": -1,
            "filename": "embyclient-4.8.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3ec97b6333813dae15558e2fe3ee3427",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 232445,
            "upload_time": "2024-04-21T16:05:22",
            "upload_time_iso_8601": "2024-04-21T16:05:22.395112Z",
            "url": "https://files.pythonhosted.org/packages/d4/d4/72b73725553f3e575dc1d4043ab60297278e27144955cc8cebb097830cfd/embyclient-4.8.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-21 16:05:22",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "embyclient"
}
        
Elapsed time: 0.23790s