Classes

The following classes are available globally.

  • Interact with the InternetArchive API

    Example Usage

    let query = InternetArchive.Query(
      clauses: ["collection": "etree", "mediatype": "collection"])
    let archive = InternetArchive()
    
    archive.search(
      query: query,
      page: 0,
      rows: 10,
      completion: { (response: InternetArchive.SearchResponse?, error: Error?) in
      // handle response
    })
    
    archive.itemDetail(
      identifier: "sci2007-07-28.Schoeps",
      completion: { (item: InternetArchive.Item?, error: Error?) in
      // handle item
    })
    
    See more

    Declaration

    Swift

    public class InternetArchive : InternetArchiveProtocol