This guide helps you get started with the Writer SDKs. Follow these steps to install the SDKs and perform basic operations.Documentation Index
Fetch the complete documentation index at: https://dev.writer.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Python SDK
- Node SDK
- Python 3.7+
- pip
- A Writer API key
You need an API key to access the Writer API. Get an API key by following the steps in the API quickstart.We recommend setting the API key as an environment variable in a
.env file with the name WRITER_API_KEY.Install the SDK
Open your terminal or command prompt and install the Writer SDK:Initialize the client
To initialize the client, import the Writer SDK and create an instance of theWriter class.
We recommend setting your API key in an environment variable called WRITER_API_KEY. When you initialize the Writer client, the client looks for the WRITER_API_KEY environment variable automatically. You can also pass your API key directly to the client.