Design a Python script to access a REST API.
`https://example.com/api/v1/data`
import requests

url = 'https://example.com/api/v1/data'

response = requests.get(url)
data = response.json()

# process the data here
# ...