Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitea1ffe0

Browse files
committed
fork
1 parente059d7c commitea1ffe0

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

‎etherscan/utils/parsing.py‎

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,4 @@ class ResponseParser:
55
@staticmethod
66
defparse(response:requests.Response):
77
content=response.json()
8-
result=content["result"]
9-
if"status"incontent.keys():
10-
status=bool(int(content["status"]))
11-
message=content["message"]
12-
assertstatus,f"{result} --{message}"
13-
else:
14-
# GETH or Parity proxy msg format
15-
# TODO: see if we need those values
16-
jsonrpc=content["jsonrpc"]
17-
cid=int(content["id"])
18-
returnresult
8+
returncontent

‎setup.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
fromsetuptoolsimportsetup
22

33
setup(
4-
name="etherscan-python",
4+
name="x-etherscan-python",
55
version="2.1.0",
66
description="A minimal, yet complete, python API for etherscan.io.",
7-
url="https://github.com/pcko1/etherscan-python",
7+
url="https://github.com/sunjiahui/x-etherscan-python",
88
author="Panagiotis-Christos Kotsias",
99
author_email="kotsias.pan@gmail.com",
1010
license="MIT",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp