Tag: api

HabitRPG and Remember the Milk Synchronization on the Command-Line

If you, like me, are a user of both HabitRPG and Remember the Milk, you may have been looking for a way to link the two. I developed habitrpg-todo-sync (HabitRPG Todo Synchronization) to do just that.

The README file explains in good detail how to use it.

Come on, just tell me how to use it

OK, here’s the quick version (you need NPM installed, which you get with Node.js):

npm install -g habitrpg-todo-sync


It will tell you what to do from there.

Full synchronization

You might be interested in running

habitsync -a

to do a full synchronization of your tasks. By default, it only retrieves the last week of them.

Don’t synchronize¬†everything

You may not want to get all your tasks. habitrpg-todo-sync can make use of Remember the Milk’s advanced search interface (ever tried typing something like addedWithin: 1 week ago in their search box?).¬†Here’s how:

habitsync –filter=”list:Name of Your List”

You can do anything you can do with their interface.

And you can combine command-line options:

habitsync -a –filter=”list:Smart List You Want To Sync”

Run on a schedule

You can run it manually or add it to cron. I have this in my crontab, which runs it every hour against beta.habitrpg.com (which is often more likely to be working). To put it in yours, you generally run

crontab -e

and then add the following line:

# min hour mday month wday command
*/60 * * * * /usr/local/bin/habitsync -qB

You can separate each argument with spaces or tabs, and you don’t need the first line. I just included it for completeness.

It doesn’t do what I want.

Tell me! I really want to hear back from users of it. When I don’t, I assume nobody cares, and I improve it much more slowly. Report issues on GitHub.

Meetup API Tools Seek Co-Maintainer, Further Developments Possible

Always wanted to entitle something like that. Anyway, I’m certainly not getting anywhere fast on PHP Meetup API Client or Meetup API on drupal.org.

There are issues on both expressing this. Reply to them or contact me.

Meetup API on drupal.org issue: http://drupal.org/node/1194532
GitHub issue: https://github.com/wizonesolutions/meetup_api/issues/4

New Meetup API Drupal Module Released

It’s been a week of achievements over here. As I wrote, I accidentally became a co-maintainer of the Fill PDF module, and now I’ve finally released my own. You can view the Meetup API project page.

If you are a developer and want to integrate Meetup.com functionality and data with your site or that of a client, this module might be useful for you. Use it, improve it, contribute code back.