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

API Development Tracking #281

Closed
54 of 55 tasks
PietrH opened this issue Jun 7, 2023 · 4 comments
Closed
54 of 55 tasks

API Development Tracking #281

PietrH opened this issue Jun 7, 2023 · 4 comments
Assignees
Labels
Milestone

Comments

@PietrH
Copy link
Member

PietrH commented Jun 7, 2023

This issue is a tracker of what functions have been rewritten to use the API.

Functions implemented in etnservice

  • connect_to_etn
  • download_acoustic_dataset
  • get_deployments
  • get_detections
  • get_projects
  • get_receivers
  • list_network_project_codes
  • list_tag_ids
  • get_acoustic_deployments
  • get_acoustic_detections
  • get_acoustic_projects
  • get_acoustic_receivers
  • get_animal_projects
  • get_animals
  • get_cpod_projects
  • get_tags
  • list_acoustic_project_codes
  • list_acoustic_tag_ids
  • list_animal_ids
  • list_animal_project_codes
  • list_cpod_project_codes
  • list_deployment_ids
  • list_receiver_ids
  • list_scientific_names
  • list_station_names
  • list_tag_serial_numbers
  • list_values
  • write_dwc

Functions rewritten to use the API

  • connect_to_etn
  • download_acoustic_dataset
  • get_deployments
  • get_detections
  • get_projects
  • get_receivers
  • list_network_project_codes
  • list_tag_ids
  • get_acoustic_deployments
  • get_acoustic_detections
  • get_acoustic_projects
  • get_acoustic_receivers
  • get_animal_projects
  • get_animals
  • get_cpod_projects
  • get_tags
  • list_acoustic_project_codes
  • list_acoustic_tag_ids
  • list_animal_ids
  • list_animal_project_codes
  • list_cpod_project_codes
  • list_deployment_ids
  • list_receiver_ids
  • list_scientific_names
  • list_station_names
  • list_tag_serial_numbers
  • write_dwc

use vcr for response caching

@PietrH PietrH added the API label Jun 7, 2023
@PietrH PietrH added this to the v3.0.0 milestone Jun 7, 2023
@PietrH PietrH self-assigned this Jun 7, 2023
@PietrH
Copy link
Member Author

PietrH commented Jun 7, 2023

Refer to #280 for the logistics around how we plan to handle backwards compatibility.

@PietrH
Copy link
Member Author

PietrH commented Jun 15, 2023

There is possibly a permissions issue regarding write_dwc(), the function has been adapted on the side of etnservice to return a list object, to be further processed on the client side.

However at the moment I'm getting a HTTP 403 Forbidden error. I've contacted VLIZ about this.

@PietrH PietrH mentioned this issue Jun 15, 2023
34 tasks
@PietrH
Copy link
Member Author

PietrH commented Jun 19, 2023

write_dwc is currently not working on the etnservice side, with a permission http error. I've deleted the test from postman to avoid monitor failure.

@PietrH
Copy link
Member Author

PietrH commented Sep 16, 2024

vcr for tests, memoise for caching internally in the functions? (for list functions especially)

@PietrH PietrH modified the milestones: v2.3, v2.3-beta Sep 23, 2024
@PietrH PietrH closed this as completed Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant