{"repo":"peeter123/digikey-api","free":true,"listed":false,"github":"https://github.com/peeter123/digikey-api","clone":"git clone https://github.com/peeter123/digikey-api.git","description":"Python module for the Digikey PartSearch API","language":"Python","stars":111,"topics":["api-client","digikey","python"],"license":"GPL-3.0","category":"api-integrations-sdks","readme_excerpt":"Python Client for Digikey API ================================= Search for parts in the Digi-Key catalog by keyword using KeywordSearch. Then make a PartDetails call to retrieve all real time information about the part including pricing. PartDetails works best with Digi-Key part numbers as some manufacturers overlap other manufacturer part numbers. What does it do digikey-api is an Digkey Part Search API client for Python 3.6+. API response data is returned as Python objects that attempt to make it easy to get the data you want. Not all endpoints have been implemented. Quickstart Install The cache dir is used to store the OAUTH access and refresh token, if you delete it you will need to login again. API V3 Register Register an app on the Digikey API portal: Digi-Key API V3. You will need the client ID and the client secret to use the API. You will also need a Digi-Key account to authenticate, using the Oauth2 process. When registering an app the OAuth Callback needs to be set to https://localhost:8139/digikey callback . Use [API V3] Python will automatically spawn a browser to allow you to authenticate using the Oauth2 process. After obtaining a token the library will cache the access token and use the refresh token to automatically refresh your credentials. You can test your application using the sandbox API, the data returned from a Sandbox API may not be complete, but the structure of the Sandbox API response will be a representation of what to expect in Production. For va","default_branch":null,"files":null,"tree":[],"storefront":"/r/peeter123","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/peeter123/digikey-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}