Python analogous for the CLI command
David Bremner
david at tethera.net
Thu Apr 18 03:26:41 PDT 2013
Flavius Aspra <flavius.as at gmail.com> 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:<id>
>
> ?
>
> Some key classes and methods would be helpful. From the documentation of the
> python code, I couldn't find indications about any of the parameters like
> --entire-thread and --format.
I answered this on IRC, but for the archives, this is currently not
possible directly because the json generation code (in fact all of the
output formatting code) does not live in the library, which is what the
bindings bind to.
d
More information about the notmuch
mailing list