implement vessel insights and fourwings API endpoints#13
Merged
lykmapipo merged 10 commits intofeature/references-api-endpointsfrom Apr 8, 2025
Merged
implement vessel insights and fourwings API endpoints#13lykmapipo merged 10 commits intofeature/references-api-endpointsfrom
lykmapipo merged 10 commits intofeature/references-api-endpointsfrom
Conversation
This: - add `InsightResource` for interacting with the vessels insights API - add `VesselInsightEndPoint` for handling API requests - add `VesselInsightBody`, `VesselInsightDatasetVessel`, `VesselInsightInclude` for validating and serializing request data - add `VesselInsightItem`, `VesselInsightResult`, etc. for deserializing and validating API responses
This: - add `FourWingsResource`, a high-level resource class for making requests to the 4Wings API - add `FourWingsReportEndPoint`, an endpoint class for handling specific report requests - add `FourWingsReportParams` and `FourWingsReportBody` for serializing and validating request parameters and bodies - add `FourWingsReportItem` and `FourWingsReportResult` for deserializing and validating API responses
This: - add `VesselResource` class for high-level API interaction - add `VesselSearchEndPoint`, `VesselListEndPoint`, and `VesselDetailEndPoint` for specific API calls - add `VesselSearchParams`, `VesselListParams`, and `VesselDetailParams` Pydantic models for request parameters - add `VesselSearchItem`, `VesselSearchResult`, `VesselListItem`, `VesselListResult`, `VesselDetailItem`, `VesselDetailResult` Pydantic models for API response data
This: - add clear instructions on setting up and running integration tests. - add a naming convention guide for integration tests.
This: - add `EventResource` class for high-level API interaction - add `EventListEndPoint`, `EventDetailEndPoint`, and `EventStatsEndPoint` for specific API calls - add `EventListParams`, `EventListBody`, `EventDetailParams`, `EventStatsBody` Pydantic models for request parameters - add `EventListItem`, `EventListResult`, `EventDetailItem`, `EventDetailResult`, `EventStatsItem`, `EventStatsResult` Pydantic models for API response data - add integration tests for all implemented endpoints
…points implement events API endpoints
…dpoints implement vessels API endpoints
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This:
InsightResourceandVesselInsightEndPointfor accessing vessel insights APIFourWingsResourceandFourWingsReportEndPointfor 4Wings report API access