Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

embyclient-4.8.9.0.tar.gz (232.9 kB view details)

Uploaded Source

Built Distribution

embyclient-4.8.9.0-py3-none-any.whl (542.1 kB view details)

Uploaded Python 3

File details

Details for the file embyclient-4.8.9.0.tar.gz.

File metadata

  • Download URL: embyclient-4.8.9.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

Hashes for embyclient-4.8.9.0.tar.gz
Algorithm Hash digest
SHA256 aa531c8faded465dc402cebe4b87995c7562bb6a490cb9047f9c2d753b0a3138
MD5 e30011db091d4f491104efe7269c2929
BLAKE2b-256 4f0b333bd00829423cf81a351d1b51d2257a21d0bbaafcd5f27e7edf3a790e8a

See more details on using hashes here.

File details

Details for the file embyclient-4.8.9.0-py3-none-any.whl.

File metadata

  • Download URL: embyclient-4.8.9.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

Hashes for embyclient-4.8.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7744d3e01285c31312d50f4e5f96a944118000509bc82dd028654b5517c3745
MD5 83ee128b7258635dae0c6676bfafb547
BLAKE2b-256 acc3df4f2503a5eb6dce852dbb53128ef15ec70e97a9ad81ff5c46163e0b141e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page