added API support for IOC
implemented the API requests through IOC, using the query flag. See Issue #47
Extraction is significantly faster.
The most significant change being:
- the main channel (parameter "sensor": reference here and example here) is being automatically renamed 'slevel' and all other channels are ignored.
More testing might be needed
The tests are failing due to reduced test coverage. We can change the minimum required threshold in pyproject.toml, but we do need to add some tests for the new API, too.
I'll look into adding a test later this week. I'll reuse when I am doing now to extract and concatenate years of data.
The tests are failing due to reduced test coverage. We can change the minimum required threshold in pyproject.toml, but we do need to add some tests for the new API, too.
I have added the test for the API https://github.com/tomsail/searvey/blob/api/tests/ioc_api_test.py
Superseded by #125