bbc/glycerin

Name: glycerin

Owner: BBC

Description: A Java HTTP client for Nitro

Forked from: mbst/glycerin

Created: 2016-08-11 11:22:37.0

Updated: 2016-08-12 14:45:18.0

Pushed: 2016-08-12 13:41:24.0

Homepage: null

Size: 157

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

glycerin

A Java HTTP client for Nitro

Usage
  1. Add a maven dependency:

    dependency>
      <groupId>com.metabroadcast.atlas.glycerin</groupId>
      <artifactId>glycerin</artifactId>
      <version>0.1.11</version>
    dependency>
    

    You'll need the MetaBroadcast repository: http://mvn.metabroadcast.com/all

  2. Create a Glycerin instance:

    erin glycerin = XmlGlycerin.builder(apiKey);
    
  3. Execute a query:

    erinResponse<Broadcast> broadcasts = glycerin.execute(BroadcastQuery.builder() .withDescendantsOf("b039gr8y").build());
    
Compiling

Glycerin is built with gradle. In the glycerin directory:

Code is generated from:

Updating

When you need to update to newer versions


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.