Python

Python example
import requests
response = requests.get(
'https://api.wepdf.io/v1/render?apikey=YOUR_API_KEY&url=https://en.wikipedia.org/wiki/PDF',
)
response.raise_for_status()
with open('wepdf.pdf', 'wb') as f:
f.write(response.content)