Python analogous for the CLI command

2013-04-18 Thread Justus Winter
Hi Flavius :) welcome to notmuch :) Quoting Flavius Aspra (2013-04-18 10:11:37) > Can you give me some pointers on how to use the python module to get the JSON > data with notmuch effort, equivalent to the command: ^^^ hehe :) Ok, here it is: teythoon at thinkbox ~/tmp % cat fla

Python analogous for the CLI command

2013-04-18 Thread Flavius Aspra
Hi Can you give me some pointers on how to use the python module to get the JSON data with notmuch effort, equivalent to the command: notmuch show --entire-thread=true --format=json id: ? Some key classes and methods would be helpful. From the documentation of the python code, I couldn't fi

Python analogous for the CLI command

2013-04-18 Thread David Bremner
Flavius Aspra writes: > Hi > > Can you give me some pointers on how to use the python module to get the JSON > data with notmuch effort, equivalent to the command: > > notmuch show --entire-thread=true --format=json id: > > ? > > Some key classes and methods would be helpful. From the documen

Re: Python analogous for the CLI command

2013-04-18 Thread Justus Winter
Hi Flavius :) welcome to notmuch :) Quoting Flavius Aspra (2013-04-18 10:11:37) > Can you give me some pointers on how to use the python module to get the JSON > data with notmuch effort, equivalent to the command: ^^^ hehe :) Ok, here it is: teythoon@thinkbox ~/tmp % cat flaviu

Re: Python analogous for the CLI command

2013-04-18 Thread David Bremner
Flavius Aspra writes: > Hi > > Can you give me some pointers on how to use the python module to get the JSON > data with notmuch effort, equivalent to the command: > > notmuch show --entire-thread=true --format=json id: > > ? > > Some key classes and methods would be helpful. From the documen

Python analogous for the CLI command

2013-04-18 Thread Flavius Aspra
Hi Can you give me some pointers on how to use the python module to get the JSON data with notmuch effort, equivalent to the command: notmuch show --entire-thread=true --format=json id: ? Some key classes and methods would be helpful. From the documentation of the python code, I couldn't fi