I got the Claude API working in about ten minutes, just following Anthropic's Get Started guide and copying the code as I went. A few lines of Python, a prompt, a reply.

Done.

Then I printed the reply to see what I'd actually gotten back:

print(message.content)

Enter fullscreen mode