Python SDK
Index Network allows you to interact with our platform and build products leveraging our services. Below, you will find detailed information on how to use them.
Here's a quick start guide.
Using the Index Network Python SDK
The Python SDK provides various operations on our platform. This guide will walk you through setting up the SDK, authenticating, creating an Index, and adding an Item to it and finally interacting with it.
Installation
First, install the indexnetwork-sdk
package via pip:
Create an instance of IndexClient
Authenticate it.
Creating an Index
We're ready. Now, let's create an Index with a title.
Voilà, now you have a truly decentralized index to interact with! Though it's empty, which means we need to create and add an Item into it so we can interact. Let's do that.
Interacting with an Index
Your index is now ready for interaction! Querying the index is straightforward:
The response should look something like this:
Last updated