Giter Club home page Giter Club logo

poodledo's People

Contributors

ciemaar avatar handyman5 avatar iandennismiller avatar martint17r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

poodledo's Issues

cannot delete tasks or notebooks

When trying to delete tasks or notebooks, apiclient.py fails to assemble the correct API calls. This patch fixes the issue for me:

diff --git a/apiclient.py b/apiclient.py
index 6df234f..4ecc2bd 100755
--- a/apiclient.py
+++ b/apiclient.py
@@ -595,7 +595,7 @@ class ApiClient(object):
         '''
         id_ = self.getNotebook(label).id
         self._notebooks_cache = None
-        return self._call(key=key, kind='notebooks', action='delete', id_=id_).text
+        return self._call(key=key, kind='notebooks', action='delete', notebooks=[id_]).text

     @check_api_key
     def editNotebook(self, label, key=None, **kwargs):
@@ -674,7 +674,7 @@ class ApiClient(object):
         '''
         id_ = self.getTask(label).id
         self._tasks_cache = None
-        return self._call(key=key, kind='tasks', action='delete', id_=id_).text
+        return self._call(key=key, kind='tasks', action='delete', tasks=[id_]).text

     @check_api_key
     def editTask(self, label, key=None, **kwargs):

Very slow startup on tdcli

Whenever, I launch tdcli, I am getting extremely slow startups, on the order of 30 seconds, even after I have authenticated completely. I am not sure what is causing the delay, but I have tried looking at python -v tdcli it it holds for most of the time after showing import StringIO.

When I import StringIO, or any of the other import commands I see when viewing the verbose log, I have no delay.

Doc Suggestion

Coming into this module cold, a couple points.

First, if you "python setup.py install" I think the example is actually "import poodledo.apiclient", right?

Second, I couldn't find any info on what should be in tdclirc or what its format is - ConfigParser format? What sections? What fields? Dug it out of cli.py but you might want to document it.

Keep up the good work!

json is required?

apiclient.py imports dumps of json module.

But, in Python 2.5, json module is not built-in.
Should I use simplejson?

Support for Toodledo 3 API

Is this in the pipeline at all? I'm starting a new Toodledo project and I definitely want to use OAuth2, but I want to avoid reinventing the wheel, if I can.

Setup.py/submission to pypi?

Wou/d a patch to add a setup.py file and add poodledo to the python package index be ok? I want to eventually add a package I'm working on and list it as a dependency or an optional dependency, not sure yet.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.