RapidAPI Integration

{{
    addUserContext(
        "sslcheck",
        slurpUrl(
            "https://check-ssl.p.rapidapi.com/sslcheck?domain=voqal.dev",
            "1m",
            "x-rapidapi-host:check-ssl.p.rapidapi.com,x-rapidapi-key:yourkey"
        )
    )
}}

{% if getUserContext("sslcheck").isvalidCertificate %}
- Website: {{ getUserContext("sslcheck").certDetails.subject.CN }}
- Expires: {{ getUserContext("sslcheck").expiry }} ({{ getUserContext("sslcheck").daysLeft }} days left)
{% endif %}