code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.Event.list(limit=3)
  '''Response {
    "object": "list",
    "url": "/v1/events",
    "has_more": false,
    "data": [
      {
        "id": "evt_1CiPtv2eZvKYlo2CcUZsDcO6",
        "object": "event",
        "api_version": "2018-05-21",
        "created": 1530291411,
        "data": {
          "object": {
            "id": "src_1CiPsl2eZvKYlo2CVVyt3LKy",
            "object": "source",
            "amount": 1000,
            "client_secret": "src_client_secret_D8hHhtdrGWQyK8bLM4M3uFQ6",
            "created": 1530291339,
            "currency": "eur",
            "flow": "redirect",
            "livemode": false,
            "metadata": {},
            "owner": {
              "address": null,
              "email": null,
              "name": null,
              "phone": null,
              "verified_address": null,
              "verified_email": null,
              "verified_name": "Jenny Rosen",
              "verified_phone": null
            },
            "redirect": {
              "failure_reason": null,
              "return_url": "https://minkpolice.com",
              "status": "succeeded",
              "url": "https://hooks.stripe.com/redirect/authenticate/src_1CiPsl2eZvKYlo2CVVyt3LKy?client_secret=src_client_secret_D8hHhtdrGWQyK8bLM4M3uFQ6"
            },
            "sofort": {
              "country": "DE",
              "bank_code": "DEUT",
              "bank_name": "Deutsche Bank",
              "bic": "DEUTDE2H",
              "iban_last4": "3000",
              "statement_descriptor": null,
              "preferred_language": null
            },
            "statement_descriptor": null,
            "status": "chargeable",
            "type": "sofort",
            "usage": "single_use"
          }
        },
        "livemode": false,
        "pending_webhooks": 0,
        "request": {
          "id": null,
          "idempotency_key": null
        },
        "type": "source.chargeable"
      },
      {...},
      {...}
    ]
  }'''
nl: List all eventsList events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in event object api_version attribute (not according to your current Stripe API version or Stripe-Version header).Parameters types optional An array of up to 20 strings containing specific event names. The list will be filtered to include only events with a matching event property. You may pass either type or types, but not both.More parametersExpand all  created optional dictionary   delivery_success optional   ending_before optional   limit optional   starting_after optional   type optional ReturnsA dictionary with a data property that contains an array of up to limit events, starting after event starting_after. Each entry in the array is a separate event object. If no more events are available, the resulting array will be empty. This request should never raise an error