This is a Python code sample to show how to send a fax to a single recipient. This code sample is based on the Python library for InterFAX available on Github.
This sample demonstrates how to send a PDF file to a fax recipient - all you need to do in order to change it is to provide a different fax number and a different path to file.
# send a single fax fax = interfax.deliver( # a valid fax number fax_number='+11111111112', # a path to an InterFAX # compatible file files=['path/to/fax.pdf'] )
You can check on the status of this fax by following this sample code.