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.9.0.33.tar.gz (440.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

embyclient-4.9.0.33-py3-none-any.whl (831.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: embyclient-4.9.0.33.tar.gz
  • Upload date:
  • Size: 440.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for embyclient-4.9.0.33.tar.gz
Algorithm Hash digest
SHA256 5b04ce152ae4c60f3b9a78531c0daecf6150f2de7fdd7e9fb410d757d8b7632a
MD5 1d7f5a181e8824449a1d0b6ad7e5376a
BLAKE2b-256 2cdae94f3d8751c536259fa3b60cc53276e3672d2d2d88fd67137c6897607a42

See more details on using hashes here.

File details

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

File metadata

  • Download URL: embyclient-4.9.0.33-py3-none-any.whl
  • Upload date:
  • Size: 831.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for embyclient-4.9.0.33-py3-none-any.whl
Algorithm Hash digest
SHA256 f8dc6d49ee5aeb3835ba3433becd6d8905833292f7c8e87e1b2f6400fc3a9018
MD5 409c6db8aa0be301dcf9e1b51bbcc27a
BLAKE2b-256 9bae5081cc18bfe1182fc53fb6ea33087af47f39e5135b83c02933c346e98c9e

See more details on using hashes here.

Supported by

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