MalShare is a free initiative for researchers to share malware samples for research purposes, which can be accessed via the website and via the API. Before open-sourcing this API client, there was no publicly supported Java library. The code can be found on Github, along with the latest release. Below, more information on the usage is given, as well as a rationale on the code.
This update does not add more features, but it changes the code’s structure significantly. In the first version, the raw JSON values were returned to the user. This made Java integration easier than starting from scratch, but it is not what one expects in an API client. This version has changed that, as all functions now return either a native value (such as a byte array) or custom objects that contain the values. This way, one can more easily access MalShare.
Suggestions are always welcome, which can be sent via a variety of ways, as can be seen below.