Update README.md
This commit is contained in:
parent
b372d10f69
commit
c8999f0369
15
README.md
15
README.md
@ -176,7 +176,22 @@ Output:
|
|||||||
"result": "ok"
|
"result": "ok"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Python example code
|
||||||
|
```
|
||||||
|
response = requests.get('https://ranchimallflo.duckdns.org/api/v1.0/getTokenBalances?token=rmt')
|
||||||
|
if response.status_code == 200:
|
||||||
|
json_response = response.json()
|
||||||
|
elif response.status_code == 404:
|
||||||
|
print('Not Found.')
|
||||||
|
```
|
||||||
|
|
||||||
|
Javascript example code
|
||||||
|
```
|
||||||
|
fetch('https://ranchimallflo.duckdns.org/api/v1.0/getTokenBalances?token=rmt'){
|
||||||
|
.then(response => response.json())
|
||||||
|
.then(data => console.log(data));
|
||||||
|
}
|
||||||
|
```
|
||||||
### Information about a FLO address
|
### Information about a FLO address
|
||||||
Get information about a FLO address
|
Get information about a FLO address
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user