mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-12 19:34:31 +02:00
17 lines
506 B
YAML
17 lines
506 B
YAML
|
framework:
|
||
|
http_client:
|
||
|
default_options:
|
||
|
headers:
|
||
|
'User-Agent': 'Part-DB'
|
||
|
|
||
|
|
||
|
scoped_clients:
|
||
|
digikey.client:
|
||
|
base_uri: 'https://sandbox-api.digikey.com'
|
||
|
auth_bearer: '%env(PROVIDER_DIGIKEY_TOKEN)%'
|
||
|
headers:
|
||
|
X-DIGIKEY-Client-Id: '%env(PROVIDER_DIGIKEY_CLIENT_ID)%'
|
||
|
X-DIGIKEY-Locale-Site: 'DE'
|
||
|
X-DIGIKEY-Locale-Language: 'de'
|
||
|
X-DIGIKEY-Locale-Currency: '%partdb.default_currency%'
|
||
|
X-DIGIKEY-Customer-Id: 0
|