Skip to content

Commit afd5e2b

Browse files
committed
Added documentation for pollin info provider
1 parent 085adf8 commit afd5e2b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.docker/symfony.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
PassEnv PROVIDER_LCSC_ENABLED PROVIDER_LCSC_CURRENCY
4646
PassEnv PROVIDER_OEMSECRETS_KEY PROVIDER_OEMSECRETS_COUNTRY_CODE PROVIDER_OEMSECRETS_CURRENCY PROVIDER_OEMSECRETS_ZERO_PRICE PROVIDER_OEMSECRETS_SET_PARAM PROVIDER_OEMSECRETS_SORT_CRITERIA
4747
PassEnv PROVIDER_REICHELT_ENABLED PROVIDER_REICHELT_CURRENCY PROVIDER_REICHELT_COUNTRY PROVIDER_REICHELT_LANGUAGE PROVIDER_REICHELT_INCLUDE_VAT
48+
PassEnv PROVIDER_POLLIN_ENABLED
4849
PassEnv EDA_KICAD_CATEGORY_DEPTH
4950

5051
# For most configuration files from conf-available/, which are

docs/usage/information_provider_system.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,14 @@ The following env configuration options are available:
247247
* `PROVIDER_REICHELT_LANGUAGE`: The language you want to get the descriptions in (optional, default: `en`)
248248
* `PROVIDER_REICHELT_INCLUDE_VAT`: If set to `1`, the prices will be gross prices (including tax), otherwise net prices (optional, default: `1`)
249249

250+
### Pollin
251+
252+
The pollin provider uses webscraping from [pollin.de](https://www.pollin.de/) to get part information.
253+
This is not an official API and could break at any time. So use it at your own risk.
254+
255+
The following env configuration options are available:
256+
* `PROVIDER_POLLIN_ENABLED`: Set this to `1` to enable the Pollin provider
257+
250258
### Custom provider
251259

252260
To create a custom provider, you have to create a new class implementing the `InfoProviderInterface` interface. As long

0 commit comments

Comments
 (0)