Storage integration-Python API

How can we convert the below curl command in python?

curl -G "https://thethings.example.com/api/v3/as/applications/<application-id>/packages/storage/uplink_message" \
    -H "Authorization: Bearer $API_KEY" \
    -H "Accept: text/event-stream" \
    -d "limit=10" \
    -d "after=2020-08-20T00:00:00Z" \
    -d "field_mask=up.uplink_message.decoded_payload"```

First instance search the forum!

As a kindness, it will come up with:

1 Like