Giter Site home page Giter Site logo

sdkman-java-sdk's Introduction

###GVM Java SDK

This library is for the purpose of interacting with the GVM REST API from within your Java project. It exposes various convenience methods for retrieving encapsulated data.

Using it is simple:

def gvmClient = new GvmClient("http://dev.gvmtool.net")

def candidates = gvmClient.getCandidates()
candidates.each { println it.name }

def versions = gvmClient.getVersionsFor("groovy")
versions.each { println it.name }

Lots more features coming soon!!!

Distribution

GVM-SDK is currently distributed through Bintray

Download

sdkman-java-sdk's People

Contributors

aalmiray avatar marc0der avatar noamt avatar shaybagants avatar timyates avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sdkman-java-sdk's Issues

Add a download method

In order for me to use the SDK client for the SGVM project, I also need net.gvmtool.client.GvmClient to provide a method that downloads a candidate distribution.

I was going to create a pull request for this, but I've noticed that the groovy-wslite client automatically loads the response data to memory; Grails distributions may reach ~100MB, so I'm not so sure it's a good idea.

Thoughts?

Additional candidate metadata

I know gvm-sdk simply consume data comign from gvm's server side however I thought this would be a good place to start this discussion. Say someone builds a griffon client for gvm-sdk (hint, hint ๐Ÿ˜‰); in order to make the app more appealing one would think it may display a logo and some other additional data that the gvm REST API does not expose (yet). Specifically I'm thinking of (at least) the following items:

  • name. We've got this already, that's the candidate name.
  • logo. Qualified list of URLs with small, medium, large, huge as qualifiers for example.
  • summary. One liner stating the candidate's purpose.
  • description. A few paragraphs (up to 3 maybe) in render friendly format (markdown perhaps?) with further details on the candidate.
  • url.

WDYT?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.