GroovyRTM is now featured on Remember The Milk's API List!

I have always wanted to give something back to the wonderful creators of the Remember The Milk to-do list service. It has been a great tool for me the past couple years by helping me keep organized. Thank you, RTM crew!

Over the last couple months I’ve been taking a bit of spare time to write something that I hope all of us can benefit from: GroovyRTM

What is GroovyRTM?

GroovyRTM allows you to easily take advantage of the Remember The Milk REST API using any language on the JVM. In short, you can now write apps for Remember The Milk without having to worry about all the HTTP transaction stuff, error handling, etc. As its name implies, it’s written in Groovy, which made it much easier to write and test.

How can I use it?

To get started, you’ll need 3 things:

  1. Download groovyrtm-all.jar from the project on GitHub
  2. Request an API key (you’ll probably want an RTM account to test it with, too)
  3. Create a RtmService.properties file as explained in the project Wiki
I've created a quick-start project that has everything you need to get started quickly! I included an application authorization example because that's the first hurdle. Download it here

Just how easy is it? Suppose you want to write a little Java app that adds a new task:

import org.eriwen.rtm.*;

class MyGroovyRtmTest {
    public static void main(String[] args) {
        GroovyRtm rtm = new GroovyRtm("api-key", "shared-secret");
        rtm.testEcho();
    }
}

It’s that easy! Now, it’s a little deceiving because the first time your app runs you have to allow it access via the RTM website. The best part is… it’s open source! You can check out the source with Git:

git clone git://github.com/eriwen/groovyrtm.git

Posted on .