Loop JSON -Ergebnisse

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Loop JSON -Ergebnisse

by Anonymous » 05 Mar 2025, 07:46

Ich bin total neu in Python. Ich habe diesen Code: < /p>

import requests

won = 'https://api.pipedrive.com/v1/deals?stat ... token=xxxx'

json_data = requests.get(won).json()

deal_name = json_data ['data'][0]['title']
print(deal_name)
< /code>

Es druckt den ersten Titel für mich, aber ich möchte, dass es alle Titel im JSON durchschlägt. Aber ich kann nicht herausfinden, wie. Kann mich jemand in die richtige Richtung führen?

Top