all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Any examples of using request.el?
@ 2015-11-17 21:38 Marcin Borkowski
  2015-11-18  9:39 ` inigoserna
  0 siblings, 1 reply; 2+ messages in thread
From: Marcin Borkowski @ 2015-11-17 21:38 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Hi all,

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.

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Any examples of using request.el?
  2015-11-17 21:38 Any examples of using request.el? Marcin Borkowski
@ 2015-11-18  9:39 ` inigoserna
  0 siblings, 0 replies; 2+ messages in thread
From: inigoserna @ 2015-11-18  9:39 UTC (permalink / raw)
  To: Marcin Borkowski, Help Gnu Emacs mailing list

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-18  9:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-17 21:38 Any examples of using request.el? Marcin Borkowski
2015-11-18  9:39 ` inigoserna

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.