Skip to content

f2face/wayback-machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wayback Machine

Wayback Machine (Archive.org) API wrapper.

Info: https://archive.org/help/wayback_api.php

Installation

With Composer

composer require f2face/wayback-machine

Without Composer

Download this package

Usage Example

require_once __DIR__.'/vendor/autoload.php';

use f2face\WaybackMachine\WaybackMachine;

// Initialize
$wb = new WaybackMachine();

// Check web page availability
$url_to_check = 'https://github.com';
var_dump($wb->available($url_to_check));

// Save a web page
$url_to_save = 'https://github.com';
var_dump($wb->save($url_to_save));

About

Simple Wayback Machine (Archive.org) API wrapper.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages