Getting Started
security.dev provides easy-to-use security APIs for developers. This guide will help you get started with integrating our services into your application.
Sign Up and Get Your API Key
Section titled “Sign Up and Get Your API Key”To use security.dev APIs, you’ll need an API key:
- Create an account on our platform
- Generate a new API key in the dashboard
Keep your API key secure and never expose it in client-side code.
Installing the SDK
Section titled “Installing the SDK”Currently, we provide a Python SDK to interact with our APIs:
Basic Setup
Section titled “Basic Setup”Here’s how to set up the security.dev client:
import os from securitydev import SecurityClient # Initialize the client with your API key # In this case we have an environment variable setting the key client = SecurityClient(key=os.getenv("SECURITYDEV_KEY")) # You're now ready to make API calls!
You can also use the Async version.
import os from securitydev import AsyncSecurityClient client = AsyncSecurityClient(key=os.getenv("SECURITYDEV_KEY")) # You're now ready to make API calls!
Using the API directly
Section titled “Using the API directly”If you prefer you can query our API directly, instead of using the SDK. This can be done in any language.
Next Steps
Section titled “Next Steps”- Learn more about the IP Intel API
- See examples of security.dev in action
- Explore the Python SDK reference