Back to articles
What's New: v0.84.0
How-ToTools

What's New: v0.84.0

via Dev.to Tutorialtiranmoskovitch-dev

What's New in v0.84.0: Enhancing API Interactions The latest release, v0.84.0, is here! We've been working hard to improve the Anthropics SDK for Python, and this new version brings exciting changes that'll make your life easier when interacting with our API. Features Overview Take a look at what's changed in this release: api : Change array format to brackets api : Remove publishing section from CLI target These two features are closely related and will greatly simplify your API interactions. Let's dive into the details! Using the New Array Format (Array Brackets) In previous versions, when fetching arrays of objects from our API, you might have encountered this format: { " array " : { " key1 " : " value1 " , " key2 " : " value2 " } } This has been changed to the more intuitive bracket notation: { " array " : [ " key1=value1 " , " key2=value2 " ] } To take advantage of this change, simply update your code to use the new format. Here's an example: import requests url = ' https://exampl

Continue reading on Dev.to Tutorial

Opens in a new tab

Read Full Article
2 views

Related Articles