ForumsDevelopersCommand line tools

Command line tools
Author Message

Posted: Sep 24, 2009
Score: 0 Reference
I started to hack together the ruby gem interface to Toodledo (mentioned at ) since I want to have some commands run when I login that refresh a local todo file that I check routinely. Unfortunately, after not much hacking today I got an error about being temporarily blocked for creating too many tokens (I was well under the 120/hr limit on API calls I'm sure, maybe having used 20 in the past hour). Since the API page mentions holding the token for four hours, I'm guessing that the ruby app's lack of caching caused the site to take action against me. It seems the Perl module would therefore do the same thing.

Since any other talk of a command line app or interface has been long ago (including a "Thanks for the suggestion" from last year), and those topics have therefore closed up, I'd like to see if anyone has a good method for getting the data in a human-friendly format from the website without using a web browser. I'd be willing to share my conglomeration of shell scripts which make that output quite useful on a handful of machines if you do :>

(Note: This is a repost, since Anders suggested I bring it up here; original was in third-party applications)

Posted: Jan 15, 2010
Score: 0 Reference
This is a flaw in the Ruby gem -- it does not persist the token in between processes.

The best way to pull large amounts of data is to write a single Ruby program that runs as a daemon and checks the file at given intervals. I'll look into the amount of work it would take to add a cache or persist the token.
You cannot reply yet

U Back to topic home

R Post a reply

To participate in these forums, you must be signed in.