BOPTestAPI.jl to hide REST API interactions #696
Replies: 4 comments 1 reply
-
Hey @bertrandkerres! Real sorry for the delayed response here, but I appreciate your work and reporting here. Cool to see interest from the Julia community and a package to facilitate usage. A few thoughts:
Feel free to let me know any of your thoughts. |
Beta Was this translation helpful? Give feedback.
-
Hi @dhblum, thanks for you response. I understand your point with keeping the "raw" HTTP request as an example somewhere, no problem for me :) I agree adding a reference in the README would be good then. With respect to the differences between BOPTEST and BOPTEST-Service, the things it handles explicitly are:
The user has to call |
Beta Was this translation helpful? Give feedback.
-
Ok regarding the README. Will work on it. And ah ok about the API, then yea they should work. But my comment still applies, the different handling won't be needed moving forward, you will only need to use the "BOPTEST-Service" version of the API. |
Beta Was this translation helpful? Give feedback.
-
👍 Thanks for the heads-up with the API changes. Once |
Beta Was this translation helpful? Give feedback.
-
Hi,
not sure where this falls on the spectrum from "this could genuinely improve your work" to "please cite my paper", so feel free to close this if not needed :)
I have written a small Julia package called
BOPTestAPI.jl
that tries to hide the REST API interactions and data conversions from the user. So here's how an example script looks:(this example runs a bit slow because it uses BOPTEST-Service from NREL directly).
The package hopefully works both with
BOPTEST
andBOPTEST-Service
, it has MIT license and I put it in the Julia general registry (i.e. one can install it using the package manager,] add BOPTestAPI
). The docs are here: https://terion-io.github.io/BOPTestAPI.jl/stable/If that is of interest, I could redo the example scripts in Julia to use this package instead.
Beta Was this translation helpful? Give feedback.
All reactions