.. meta::
:description: This documentation will guide you through the use of the Memset API.
.. index:: Python jsonrpc example, jsonrpc example, example
.. _python-jsonrpc-example:
Python JSON-RPC Example
=======================
This is an example of how to use the Memset API with `Python `_ and the 3rd party
module `jsonrpclib `_ for JSON-RPC client access.
Substitute **API_KEY_HEX** with a valid API key and it can be run with a Python 2 interpreter.
.. literalinclude:: examples/jsonrpctest.py
:language: python