Skip to content

Commit d0a524d

Browse files
author
corentin
committed
Add installation comment
1 parent 5cad692 commit d0a524d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

snippet.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
# install with: pip install git+https://github.com/spicehq/spice-py
12
from spicepy import Client
23

34
client = Client('API_KEY')
4-
reader = client.query('SELECT * FROM eth.blocks ORDER BY number DESC LIMIT 10;')
5+
reader = client.query('SELECT * FROM eth.recent_blocks ORDER BY number DESC;')
56
print(reader.read_pandas())

0 commit comments

Comments
 (0)