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

Diff for: README.md

+1-5
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)