Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for OLO, Slovakia suource #3283

Closed
wants to merge 1 commit into from

Conversation

mniejo
Copy link

@mniejo mniejo commented Dec 26, 2024

No description provided.

Comment on lines +45 to +50
PARAM_TRANSLATIONS = { # Optional dict to translate the arguments, will be shown in the GUI configuration form as placeholder text
"en": {
"street": "Enter street name",
"registrationNumber": "Enter registration number"
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove enter from the string

Comment on lines +34 to +36
HOW_TO_GET_ARGUMENTS_DESCRIPTION = { # Optional dictionary to describe how to get the arguments, will be shown in the GUI configuration form above the input fields, does not need to be translated in all languages
"en": "HOW TO GET ARGUMENTS DESCRIPTION"
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either fill in correct information or remove this Variable. This placeholder text would be shown in the configuration GUI at the moment

headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"authorization": "Bearer ae84ae0982c2162a81eb253765ceaa8593abd9105c71954cf5c9620b0178cbb6"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there another way to get this header, I don't like hard coding a Bearer token

@@ -0,0 +1,37 @@
# fcc Environment (VYLOŽ SMETI APP)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Headline copy-paste leftovers?

Comment on lines +16 to +19
### Configuration Variables

**street**
*(String) (required)*
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

registrationNumber missing

sources:
- name: olo_sk
args:
street: Jantarova 47
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

registrationNumber missing

Comment on lines +31 to +37
```yaml
waste_collection_schedule:
sources:
- name: olo_sk
args:
city: Jasovska 8
```
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

city is not a valid argument

@mniejo
Copy link
Author

mniejo commented Dec 27, 2024

Sorry. This PR was created by mistake on unfinished code. I'll be back with a new one in few days.

@mniejo mniejo closed this Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants