Installation
Install and set up Maniac in your project
Prerequisites
Before installing Maniac, make sure you have:
- A package manager (typically npm or pip, depending on your language)
Authentication
API keys are scoped per-project per-user. If you create a new project, you will need to create a new key.
Installation
Install Maniac
npm install maniac-jsUse your API key in the client
By default, the client reads from process.env.MANIAC_API_KEY
const client = new Maniac({apiKey: <YOUR_API_KEY>})Install Maniac
npm install maniacUse your API key in the client
By default, the client reads from os.getenv("MANIAC_API_KEY")
client = Maniac(apiKey=<YOUR_API_KEY>)Make sure to keep your MANIAC_API_KEY environment variable secure and never
commit it to version control.