Crate spn

Crate spn 

Source
Expand description

This crate provides an async client to the Save Page Now 2 API.

The client can be used to

  • request capture
  • get capture status
  • get user status
  • get system status

API reference: https://docs.google.com/document/d/1Nsv52MvSjbLb2PCpHlat0gkzw0EvtSgpKHu4mk0MnrA

Structs§

SPN2CaptureRequestOptParams
Parameters for a capture request
SPN2CaptureResponse
The SPN2 API’s response to a capture request
SPN2Client
The client for the SPN2 API
SPN2UserStatus
The SPN2 API’s response to a user status request

Enums§

SPN2CaptureStatus
The SPN2 API’s response to a capture status request
SPN2SystemStatus
The SPN2 API’s response to a system status request

Type Aliases§

Error
Errors that may occur when constructing the client and sending requests