Hello, folks!

I and my teammates are building a Ruby gem to interact to DSpace
REST-API to make easier to implement a Ruby (on Rails) app that uses
DSpace as file and information server.

The gem already has some functional features - such as get/post/put
objects, login, logout and status request - but it is still on a very
early stage of implementation. It uses 'rest-client' to do the
requests. Most of what is missing are only some basic requests, error
detection, and some other basic stuff that we decided to do later.

The Source-Code is hosted at:
https://gitlab.c3sl.ufpr.br/bnzanette/dspace-rest-client

There is a example script on README file that shows how to use it.
Basically there are 4 classes that implements each kind of Dspace
object (Community, Collection, Item and Bitstream), and requests
returns an single instance or an array of instances of some object.
GET requests returns the required object, POST/PUT requests returns
the object that has been created.

Feel free to propose changes, to point mistakes, ... because that's
what we want!
We really hope you enjoy it and that it may help someone at some point!

Cheers!

-- 
Bruno Nocera Zanette
+55 41 9992-2508

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to