Added that clearing the octopart oauth token is required after changing octopart clientID

See discussion in issue #329. Maybe we will implement a better (more automatic) way to solve this.
This commit is contained in:
Jan Böhmer 2023-08-23 21:00:04 +02:00
parent f26776ecd5
commit d612164885

View file

@ -84,6 +84,8 @@ Part-DB will save the prices in their native currency, and you can use Part-DB c
* `PROVIDER_OCTOPART_SEARCH_LIMIT`: The maximum number of results to return per search (optional, default: `10`). This affects how quickly your monthly limit is used up.
* `PROVIDER_OCTOPART_ONLY_AUTHORIZED_SELLERS`: If set to `true`, only offers from [authorized sellers](https://octopart.com/authorized) will be returned (optional, default: `false`).
**Attention**: If you change the octopart clientID after you have already used the provider, you have to remove the OAuth token in the Part-DB database. Remove the entry in the table `oauth_tokens` with the name `ip_octopart_oauth`.
### Digi-Key
The Digi-Key provider uses the [Digi-Key API](https://developer.digikey.com/) to search for parts and getting shopping information from [Digi-Key](https://www.digikey.com/).
To use it you have to create an account at Digi-Key and get an API key on the [Digi-Key API page](https://developer.digikey.com/).