{"repo":"jellyfin/jellyfin-apiclient-python","free":true,"listed":false,"github":"https://github.com/jellyfin/jellyfin-apiclient-python","clone":"git clone https://github.com/jellyfin/jellyfin-apiclient-python.git","description":"Python API Client for Jellyfin","language":"Python","stars":149,"topics":["jellyfin","api-client"],"license":"GPL-3.0","category":"api-integrations-sdks","readme_excerpt":"Jellyfin ApiClient Python This is the API client from Jellyfin Kodi extracted as a python package so that other users may use the API without maintaining a fork of the API client. Please note that this API client is not complete. You may have to add API calls to perform certain tasks. Please see Contributing below. Usage This client can be installed with pip3 install jellyfin-apiclient-python and imported with import jellyfin apiclient python . Creating a client You need to set some configuration values before you can connect a server: Authenticating to a server If you do not have a token, you will need to connect via username and password: You can then generate a token: And if you wish then use that token to authenticate in future: You can also authenticate using an API key, which is generated on the server. This is different to a device AccessToken, and is set by not configuring a device name, or a device id: API The API is accessed via the jellyfin attribute of the client. Return values are a dictionary with 3 members, \"Items\", \"TotalRecordCount\" and \"StartIndex\" The easiest way to fetch media objects is by calling search media items , like so: For details on what the individual API calls do or how to do a certain task, you will probably find the Jellyfin MPV Shim and Jellyfin Kodi repositories useful. Running the tests The test suite is run via tox , and you can install it from PyPi. - To run the linter: tox -elint - To run the test suite, for Python 3.9: tox -epy39 - You","default_branch":null,"files":null,"tree":[],"storefront":"/r/jellyfin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jellyfin/jellyfin-apiclient-python/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}