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

Commit 606bf51

Browse files
Update details.py
1 parent 42e2f81 commit 606bf51

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎examples/details.py‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Get the standardized specifications of a specified product
12
import techspecs
23
# Product Details
34

@@ -11,7 +12,7 @@
1112
techspecs_id = "6186b047987cda5f88311983"
1213

1314
# choose between "pretty" or "raw" mode for viewing response
14-
details = techspecs.detail(techspecs_base, techspecs_id, techspecs_key, mode='pretty')
15+
response = techspecs.detail(techspecs_base, techspecs_id, techspecs_key, mode='pretty')
1516

16-
# print the search results
17-
print(details)
17+
# print the specifications of the product
18+
print(response)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /