Skip to content

Commit

Permalink
Simplified client initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
pcko1 authored Nov 7, 2020
1 parent 9c12301 commit 6bbe817
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,7 @@ In `python`, create a client with your personal [Etherscan.io](https://etherscan

``` python
from etherscan import Etherscan
api_key = YOUR_API_KEY # use quotation marks because it is a Python string
config_path = "configs/stable.json"
eth = Etherscan.from_config(config_path, api_key)
eth = Etherscan(YOUR_API_KEY) # key in quotation marks
```

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

0 comments on commit 6bbe817

Please sign in to comment.