all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: inigoserna@gmail.com
To: "Marcin Borkowski" <mbork@mbork.pl>,
	"Help Gnu Emacs mailing list" <help-gnu-emacs@gnu.org>
Subject: Re: Any examples of using request.el?
Date: Wed, 18 Nov 2015 09:39:23 +0000	[thread overview]
Message-ID: <c312e5b250d6dcaba67beae9f9471dd6@rainloop> (raw)
In-Reply-To: <87r3jo1f3m.fsf@mbork.pl>

Hi,

November 17 2015 10:38 PM, "Marcin Borkowski" <mbork@mbork.pl> wrote:
> I've written a small package using the request.el library. However,
> since I know next to nothing about the web's inner workings, I didn't
> really know how to use it well. In particular I mean error handling.
> Are there any packages using request.el out there so that I could study
> their code?
> 
> I'm especially interested in /synchronous/ calls (I neither need nor
> want asynchronous ones in my library), but anything will do.

I'm not a elisp coder, just an apprentice, but I was able to build an emacs front-end for my python web-based news reader using request.el in a few days - it was quite easy -, so I guess it could be an useful look.

There isn't an official release with this feature yet, but you can see the code at:
https://bitbucket.org/inigoserna/mynewspaper4/src/2a5b15a9e82e41546da5ea430695d787f26954e7/tools/mynewspaper.el?at=default


Hope it helps,
Iñigo Serna



      reply	other threads:[~2015-11-18  9:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-17 21:38 Any examples of using request.el? Marcin Borkowski
2015-11-18  9:39 ` inigoserna [this message]

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

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

  git send-email \
    --in-reply-to=c312e5b250d6dcaba67beae9f9471dd6@rainloop \
    --to=inigoserna@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mbork@mbork.pl \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.