import json
from urllib.request import urlopen

from settings import URL


def handler(event, context):
    response = urlopen(URL)
    data = response.read().decode("utf-8")
    message = "Eventbrite's stock is ${} today. Holy cow!".format(json.loads(data)['price'])
    
    return message


f612426f3a31e8a1349c56f65aa6779b98bc036a
<mask token>

<mask token>


def handler(event, context):
    response = urlopen(URL)
    data = response.read().decode('utf-8')
    message = "Eventbrite's stock is ${} today. Holy cow!".format(json.
        loads(data)['price'])
    return message

import json
from urllib.request import urlopen
from settings import URL


def handler(event, context):
    response = urlopen(URL)
    data = response.read().decode('utf-8')
    message = "Eventbrite's stock is ${} today. Holy cow!".format(json.
        loads(data)['price'])
    return message

import json
from urllib.request import urlopen

from settings import URL


def handler(event, context):
    response = urlopen(URL)
    data = response.read().decode("utf-8")
    message = "Eventbrite's stock is ${} today. Holy cow!".format(json.loads(data)['price'])
    
    return message

