all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: swedebugia <swedebugia@riseup.net>
To: guix-devel <guix-devel@gnu.org>
Subject: Internet Archive APIs useful as fallback?
Date: Wed, 19 Dec 2018 06:26:28 +0100	[thread overview]
Message-ID: <161edf75-57b7-4d5b-8acf-a4c61358add1@riseup.net> (raw)

Hi

I stumbled over these at clintons blog and thought I would share them 
here if anybody is interested.

APIs for content other that way-back machine:
https://blog.archive.org/2018/12/13/documentation-for-public-apis-at-the-internet-archive/

APIs for the way-back machine:
https://archive.org/help/wayback_api.php

excerp:
Wayback Availability JSON API

This simple API for Wayback is a test to see if a given url is archived 
and currenlty accessible in the Wayback Machine. This API is useful for 
providing a 404 or other error handler which checks Wayback to see if it 
has an archived copy ready to display. The API can be used as follows:
http://archive.org/wayback/available?url=example.com

which might return:

{
     "archived_snapshots": {
         "closest": {
             "available": true,
             "url": 
"http://web.archive.org/web/20130919044612/http://example.com/",
             "timestamp": "20130919044612",
             "status": "200"
         }
     }
}


-- 
Cheers Swedebugia

             reply	other threads:[~2018-12-19  5:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-19  5:26 swedebugia [this message]
2018-12-19 14:57 ` Internet Archive APIs useful as fallback? Ludovic Courtès
2018-12-19 17:18   ` swedebugia
2018-12-20  7:47     ` Ludovic Courtès
2018-12-20 12:55       ` swedebugia
2018-12-19 21:28   ` Björn Höfling
2018-12-20  3:00   ` bill-auger
2018-12-20  4:42     ` swedebugia

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=161edf75-57b7-4d5b-8acf-a4c61358add1@riseup.net \
    --to=swedebugia@riseup.net \
    --cc=guix-devel@gnu.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 external index

	https://git.savannah.gnu.org/cgit/guix.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.