From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: Internet Archive APIs useful as fallback? Date: Wed, 19 Dec 2018 06:26:28 +0100 Message-ID: <161edf75-57b7-4d5b-8acf-a4c61358add1@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZUH7-0000PL-4d for guix-devel@gnu.org; Wed, 19 Dec 2018 00:20:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZUH3-0003S6-Vy for guix-devel@gnu.org; Wed, 19 Dec 2018 00:20:05 -0500 Received: from mx1.riseup.net ([198.252.153.129]:52147) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gZUH3-0003Q9-M0 for guix-devel@gnu.org; Wed, 19 Dec 2018 00:20:01 -0500 Received: from cotinga.riseup.net (cotinga-pn.riseup.net [10.0.1.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 1F0221A3222 for ; Tue, 18 Dec 2018 21:20:00 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by cotinga.riseup.net with ESMTPSA id 3BB47104C21 for ; Tue, 18 Dec 2018 21:19:58 -0800 (PST) Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel 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