Quick Start Guide
Get up and running with the Akili SDK in minutes.
1. Create an Account
Before you can access the API, you need to create an account and generate an API key.
- Go to the Sign Up page.
- Create an organization account.
- Navigate to Settings > API Keys in your dashboard.
- Click Generate New Key and copy it to a safe place.
2. Install the SDK
Install the official Akili SDK for your project. We support Node.js, Python, and R.
Terminal
npm install @akili/sdk3. Fetch Your First Dataset
Use the SDK to query weather data for a specific location.
import { AkiliClient } from '@akili/sdk';
const client = new AkiliClient({
apiKey: 'YOUR_API_KEY'
});
async function getWeather() {
const data = await client.weather.getHistorical({
lat: -1.2921,
lon: 36.8219, // Nairobi
startDate: '2023-01-01',
endDate: '2023-01-31',
variables: ['temperature_2m', 'precipitation']
});
console.log(data);
}
getWeather();Next Steps
- Explore the Data Models to understand available datasets.
- Learn how to build automated pipelines.
- Check out the full API Reference.