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

feat: add get_observation and get_observation_for_place in client #520

Merged
merged 5 commits into from Feb 22, 2023

Conversation

bbesset
Copy link
Contributor

@bbesset bbesset commented Dec 19, 2022

This new feature fetches current observation from the v2/observation API endpoint.

@sonarcloud
Copy link

sonarcloud bot commented Dec 19, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@bbesset
Copy link
Contributor Author

bbesset commented Jan 15, 2023

hello @oncleben31 @dx44 @Quentame, could you please review ?

Copy link
Member

@Quentame Quentame left a comment

Choose a reason for hiding this comment

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

Nice PR !
But need few changes 😅

That would be awesome if you could add some tests 😉

src/meteofrance_api/client.py Show resolved Hide resolved
src/meteofrance_api/client.py Show resolved Hide resolved
src/meteofrance_api/model/observation.py Outdated Show resolved Hide resolved
@sonarcloud
Copy link

sonarcloud bot commented Jan 21, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@bbesset bbesset requested review from Quentame and removed request for oncleben31 and dx44 January 22, 2023 09:17
@Quentame Quentame added the enhancement New feature or request label Feb 22, 2023
@sonarcloud
Copy link

sonarcloud bot commented Feb 22, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Member

@Quentame Quentame left a comment

Choose a reason for hiding this comment

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

Nice, thanks 🎉

@Quentame Quentame merged commit 41a68f7 into hacf-fr:master Feb 22, 2023
@Quentame Quentame mentioned this pull request Feb 22, 2023
@Quentame
Copy link
Member

Apparently the CI isn't working since this PR, odd I thought I saw it passing here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use the v2/observation API endpoint
2 participants