unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Flavius Aspra <flavius.as@gmail.com>
To: notmuch@notmuchmail.org
Subject: Python analogous for the CLI command
Date: Thu, 18 Apr 2013 10:11:37 +0200	[thread overview]
Message-ID: <20130418081137.GA598@evolution> (raw)

[-- Attachment #1: Type: text/plain, Size: 481 bytes --]

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.

Thanks,
Flavius Aspra

-- 
What I cannot create, I do not understand. -- Feynman

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

             reply	other threads:[~2013-04-18  8:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-18  8:11 Flavius Aspra [this message]
2013-04-18 10:26 ` Python analogous for the CLI command David Bremner
2013-04-18 10:27 ` Justus Winter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130418081137.GA598@evolution \
    --to=flavius.as@gmail.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).