Skip to content

Commit

Permalink
v1.0.4: introduce tags parameter for myLists API
Browse files Browse the repository at this point in the history
  • Loading branch information
trung_ho committed Jul 11, 2023
1 parent c4bc5cc commit 15e9146
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pcm/metadata_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"versions": [
{
"version": "1.0.3",
"version": "1.0.4",
"status": "stable",
"kicad_version": "6.00"
}
Expand Down
10 changes: 9 additions & 1 deletion src/ki_push_thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,15 @@ def __init__(self, wx_object, json_data, list_name):
def run(self):
base_api_url = 'https://www.digikey.com/mylists/api/thirdparty'
json_data = self.json_data
params = {'listName': self.list_name}

# This below variable helps myLists team keep track of projects that are using myLists API.
# Feel free to change it to your project name.
tags = 'KiCad'

params = {
'listName': self.list_name,
'tags': tags
}

self._post_event({'state': 'Initializing...', 'gauge_int': 10})
time.sleep(0.5)
Expand Down

0 comments on commit 15e9146

Please sign in to comment.