Skip to content

Commit 6bbe817

Browse files
authored
Simplified client initialization
1 parent 9c12301 commit 6bbe817

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,7 @@ In `python`, create a client with your personal [Etherscan.io](https://etherscan
190190

191191
``` python
192192
from etherscan import Etherscan
193-
194-
api_key = YOUR_API_KEY # use quotation marks because it is a Python string
195-
config_path = "configs/stable.json"
196-
197-
eth = Etherscan.from_config(config_path, api_key)
193+
eth = Etherscan(YOUR_API_KEY) # key in quotation marks
198194
```
199195

200196
Then you can call all available methods, e.g.:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy