originstamp-client-fetch
v3.0.0
Published
TypeScript Fetch client for the OriginStamp service
Readme
OriginStamp TypeScript Fetch Client

A TypeScript Fetch implementation of the OriginStamp API. For endpoint documentation see OriginStamp Documentation.
Install
npm install [email protected] --saveUsage
Simple example for using the API correctly:
# Prepare Class
const api_key = "exampleApiKey"
const config: Configuration = new Configuration({
basePath: "https://apidev.originstamp.com"
apiKey: () => api_key
})
const api: TimestampApi = new TimestampApi(config)
# Prepare data
const body = {
sha256: [
"example"
]
}
# Using the API Class
const response: TimestampResponse = await api.createTimestamp({ timestampRequest: body })