Legend

Forum

Unread topics or posts

Topic

Unread posts

Locked

Announcement

Search

Search results for "Posted by srhuston"



AuthorMessage
srhuston

Posted: Sep 24, 2009
From Topic: Command line tools



I started to hack together the ruby gem interface to Toodledo (mentioned at http://www.toodledo.com/forums/3/21/-1753/command-line-client-in-ruby-available.html ) 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)
srhuston

Posted: Sep 17, 2009



I guess nobody else is using any of the command-line apps that interface with Toodledo? Best I can tell they would all suffer from this same problem (not caching the auth token) so I would think if anyone was using these it would be a more widespread problem.
srhuston

Posted: Aug 30, 2009



I started to hack together the ruby gem interface to Toodledo (mentioned at http://www.toodledo.com/forums/3/21/-1753/command-line-client-in-ruby-available.html ) 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 :>