Getting Started
Learn how to quickly integrate and start using our SDK in your project.
1. Installation
npm install @awesome-sdk/main
SDK supports both ES modules and CommonJS
2. Quick Use
import { Client } from '@awesome-sdk/client';
const client = new Client({
apiKey: 'YOUR_API_KEY',
env: 'production'
});
client.fetchData('users/1')
.then(res => console.log(res))
.catch(err => console.error(err));
Live Demo
Click the Run button to see the response in action...
3. Configuration Options
Authentication
- • API Key
- • OAuth 2.0
- • Session Tokens
Environments
- • Sandbox
- • Staging
- • Production