A fluent Java 8 library to access the Pivotal Tracker API, released under the LGPL by OneSpot
Clone or download
Pull request Compare This branch is 26 commits behind sanity:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
src/main/java/onespot/pivotal
.gitignore
LICENSE
README.md
build.gradle
gradlew
gradlew.bat
pivotal.iml
settings.gradle

README.md

Fluent Pivotal

A fluent Java 8 library to access the Pivotal Tracker API, released under the LGPL by OneSpot.

  PivotalTracker pivotalTracker = new PivotalTracker(PIVOTAL_API_TOKEN);

  List<Story> stories = pivotalTracker.projects().id(PROJECT_ID)
                .stories()
                .withFields(owners, accepted_at, estimate)
                .acceptedAfter(now().minus(2 * 30 * 24, HOURS))
                .getAll();
  
  stories.forEach((s) -> {
      System.out.println(s.getName());
  });

The library is far from complete, the API is perhaps only 10% supported so far, however it is probably the most useful 10%. Adding support for new parts of the API is very easy (see below), and pull requests will be most welcome.

Maven / Gradle

See JitPack.io.

Contributing

Contributions to support more of the API are very welcome, the basic framework is fairly nice to build upon, and you should be able to get a good idea of how to extend the API with just a few minutes looking at the codebase.