Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Unofficial client for the simple-fax.de SOAP API

License

Notifications You must be signed in to change notification settings

rosahaj/simple-fax-soap-client

Repository files navigation

simple-fax-soap-client

Unofficial client for the simple-fax.de SOAP API

Note: The simple-fax.de SOAP API does not produce transmission reports and transmissions do not appear in the "Versandbox" tab.

Usage

import { readFileSync } from 'node:fs'
import * as simpleFax from 'simple-fax-soap-client'

const base64EncodedPDF = fs.ReadFileSync('./document.pdf').toString('base64')

const options = {
  username: '[email protected]',
  password: 'verysecurepassword',
  faxnumber: '080012345678',
  data: base64EncodedPDF,
  filetype: 'PDF',
  identifier: 'sender information',
  statusurl: 'https://callbackurl.com/',
}

const faxId = await simpleFax.sendFax(options)
console.log(`Fax ID: ${faxId}`)

License

MIT License © 2024 rosahaj

About

Unofficial client for the simple-fax.de SOAP API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published