Added Python example.
@@ -36,7 +36,7 @@ The Indexer provides a set of REST API calls for searching blockchain Transactio
# instantiate indexer client
myindexer = indexer.IndexerClient(indexer_token="", indexer_address="http://localhost:8980")
- ```
+ ``` ```
=== "Java"
```java
@@ -921,6 +921,15 @@ The `/accounts/{account-id}/created-apps` REST call allows for searching an acco
});
```
+=== "Python"
+ ```python
+ address = "XIU7HGGAJ3QOTATPDSIIHPFVKMICXKHMOR2FJKHTVLII4FAOA3CYZQDLG4"
+
+ response = myindexer.lookupAccountCreatedApplications(address)
+
+ print(json.dumps(response, indent=2, sort_keys=True))
+ ```
+
=== "Go"
```go
address, _ := types.DecodeAddress("XIU7HGGAJ3QOTATPDSIIHPFVKMICXKHMOR2FJKHTVLII4FAOA3CYZQDLG4")
@@ -952,6 +961,15 @@ The `/accounts/{account-id}/created-assets` REST call allows for searching an ac
});
```
+=== "Python"
+ ```python
+ address = "XIU7HGGAJ3QOTATPDSIIHPFVKMICXKHMOR2FJKHTVLII4FAOA3CYZQDLG4"
+
+ response = myindexer.lookupAccountCreatedAssets(address)
+
+ print(json.dumps(response, indent=2, sort_keys=True))
+ ```
+
=== "Go"
```go
address, _ := types.DecodeAddress("XIU7HGGAJ3QOTATPDSIIHPFVKMICXKHMOR2FJKHTVLII4FAOA3CYZQDLG4")
@@ -983,6 +1001,15 @@ The `/accounts/{account-id}/assets` REST call allows for searching an account fo
});
```
+=== "Python"
+ ```python
+ address = "XIU7HGGAJ3QOTATPDSIIHPFVKMICXKHMOR2FJKHTVLII4FAOA3CYZQDLG4"
+
+ response = myindexer.lookupAccountAssets(address)
+
+ print(json.dumps(response, indent=2, sort_keys=True))
+ ```
+
=== "Go"
```go
address, _ := types.DecodeAddress("XIU7HGGAJ3QOTATPDSIIHPFVKMICXKHMOR2FJKHTVLII4FAOA3CYZQDLG4")
@@ -1014,6 +1041,15 @@ The `/accounts/{account-id}/apps-local-state` REST call allows for searching an
});
```
+=== "Python"
+ ```python
+ address = "XIU7HGGAJ3QOTATPDSIIHPFVKMICXKHMOR2FJKHTVLII4FAOA3CYZQDLG4"
+
+ response = myindexer.lookupAccountAppLocalStates(address)
+
+ print(json.dumps(response, indent=2, sort_keys=True))
+ ```
+
=== "Go"
```go
address, _ := types.DecodeAddress("XIU7HGGAJ3QOTATPDSIIHPFVKMICXKHMOR2FJKHTVLII4FAOA3CYZQDLG4")
