Dear list, We have recently been doing some integration with our DSpace repository using the REST API. Eventually we realized that it would be nice to be able to use the item views and downloads from the Solr statistics core, but those are not exposed by any externally accessible APIs. I wrote a small, lightweight Python-based tool that runs locally on the DSpace server to periodically index the Solr statistics core and expose the statistics via a simple API. And it's fast!
The tool is called "dspace-statistics-api" and you can find the source code, documentation, and deployment instructions on GitHub: https://github.com/ilri/dspace-statistics-api You can see it in running on the public development instance of our DSpace repository: https://dspacetest.cgiar.org/rest/statistics I hope this is useful to some people and I would be very happy for comments, suggestions, and pull requests (see my list of TODOs in the project). Thank you! -- Alan Orth [email protected] https://picturingjordan.com https://englishbulgaria.net https://mjanja.ch "In heaven all the interesting people are missing." ―Friedrich Nietzsche -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
