Skip to main content

SDK Examples

Neolens provides simple and secure access to its REST API through standard HTTP requests. You can use any language or platform capable of making HTTPS requests. Below are a few quick examples using Python, JavaScript, and curl.

import requests

url = "https://api.neolens.ai/v1/scans"
headers = {
"Authorization": "Bearer YOUR_API_TOKEN"
}
response = requests.get(url, headers=headers)
print(response.json())

These examples cover only the basics. For more advanced usage — including file uploads, scan configurations, and streaming — explore the full API reference.