.env
file with the name WRITER_API_KEY
.Writer
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.