kodijsonrpc
This provides a Kodi JSON-RPC client. All Kodi JSON methods can be called as methods to the KodiJSONClient instance.
Usage
This is an example given a kodi server at 192.168.0.1, using port 8000 (username=’user1’, password=’pwd’):
server = KodiJSONClient('192.168.0.1', '8000', 'user1', 'pwd')
server.JSONRPC.Ping()
All other Kodi JSON methods can be called in a similar way, with parameters provides as appropriate.
e.g. This would provide movie details:
params = {'properties':['title',
'lastplayed',
'thumbnail',
'plot',
'playcount',
'resume',
'file']}
movies = server.VideoLibrary.GetMovies(params)
Requirements
This is a python package and requires the following:
Python 3.4+
Python jsonrpcclient package
Python requests package
And of course to have a purpose a Kodi instance is required:
Kodi v13 or later
Installation
Install using pip:
$ pip install kodijsonrpc
Requests, Issues, Bugs or Suggestions
Add any feature requests, issues, bugs or suggestions here: https://github.com/davgeo/kodijsonrpc/issues
Please give as much detail as possible.
Metadata
Release files for kodijsonrpc 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kodijsonrpc-1.1.tar.gz | 2.7 kB | Without provenance | Details for kodijsonrpc-1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kodijsonrpc-1.1-py3-none-any.whl | Python 3 | none | any | Details for kodijsonrpc-1.1-py3-none-any.whl |
Total release size: 6.4 kB
Release files / kodijsonrpc-1.1.tar.gz
| Download URL | kodijsonrpc-1.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60ad6597c0c1568831e86f8554c3f99f85783864194cc0443e720c54e6fd2ab4
|
|
BLAKE2b-256 checksum How to use checksums |
47c909846260ca55b89606e3c4638d3b61f3d49761f38b947d5fb9dffe11bba3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.2
|
Release files / kodijsonrpc-1.1-py3-none-any.whl
| Download URL | kodijsonrpc-1.1-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e2579041e97943130d076ca73c910166a1d199f974c22a511c40160482a8e3b
|
|
BLAKE2b-256 checksum How to use checksums |
5b3a3074528956d08d83cf32ca73f48581a294d3a1366a1929ab2e2525363746
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.2
|
Security for kodijsonrpc 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.