Added the MouserProvider by @pdo59

This commit is contained in:
Jan Böhmer 2023-10-07 23:46:31 +02:00
parent 2409c7f62b
commit 33033bc5b1
3 changed files with 354 additions and 0 deletions

14
.env
View file

@ -142,6 +142,20 @@ PROVIDER_OCTOPART_SEARCH_LIMIT=10
# Set to false to include non authorized offers in the results
PROVIDER_OCTOPART_ONLY_AUTHORIZED_SELLERS=1
# Mouser Provider API V2:
# You can get your API key from https://www.mouser.it/api-hub/
PROVIDER_MOUSER_KEY=
# If not provided, the default is false. Used when searching for keywords in the language specified when you signed up for Search API.
# Can use string representation: true.
PROVIDER_MOUSER_LANGUAGE='true'
#searchOptions string
#Optional. If not provided, the default is None.
#Refers to options supported by the search engine.
#Only one value at a time is supported.
#Available options: None | Rohs | InStock | RohsAndInStock - can use string representations or integer IDs: 1[None] | 2[Rohs] | 4[InStock] | 8[RohsAndInStock].
PROVIDER_MOUSER_OPTION='1'
# The number of results to get from Mouser while searching (please note that this value is max 50)
PROVIDER_MOUSER_SEARCH_LIMIT=50
###################################################################################
# SAML Single sign on-settings