pulibrary / tiger-data-experiments

TigerData is a comprehensive set of data storage and management tools and services that provides storage capacity, reliability, functionality, and performance to meet the needs of a rapidly changing research landscape and to enable new opportunities for leveraging the power of institutional data.
Apache License 2.0
2 stars 0 forks source link

Ruby simple client #22

Closed hectorcorrea closed 1 year ago

hectorcorrea commented 1 year ago

A very simple client in Ruby to interact with MediaFlux.

$ ruby mf.rb upload /acme my-file.txt
<response><reply type="result"><result><id>46180</id></result></reply></response>

$ ruby mf.rb get 46180
<response>...</response>

$ ruby mf.rb query "namespace='/acme'"
<response>...</response>
hectorcorrea commented 1 year ago

Moved this to https://github.com/pulibrary/tiger-data/pull/24