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 b859bc9

Browse files
Update all_categories.py
1 parent a96a503 commit b859bc9

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

‎examples/all_categories.py‎

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
import techspecs
2-
# All Categories
32

4-
techspecs_key = ""
5-
techspecs_base = ""
6-
categories = techspecs.categories(techspecs_base, techspecs_key, mode='pretty')
3+
# TechSpecs API Key
4+
techspecs_key = "techspecs_api_key"
5+
6+
# TechSpecs base https://apis.dashboard.techspecs.io/{techspecs_base}
7+
techspecs_base = "a8TD3mkN49fhg2y"
8+
9+
# choose between "pretty" or "raw" mode for viewing response
10+
categories = techspecs.categories(techspecs_base, techspecs_key, mode='pretty')
11+
12+
# print the search results
713
print(categories)

0 commit comments

Comments
(0)

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