import subprocess
import sys
def install(request):
      subprocess.check_call([sys.executable, "-m", "pip", "install", request])
install("requests")
import requests,json
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
url = "https://api.elastic-cloud.com/api/v1/deployments"
apikey="YWVJeDQzc0JqR3d1aWxkMTZuWFM6cWFlWGFwTk5UaWFERUkweUZPRTVNZw=="
headers = {'Authorization': 'ApiKey ' + apikey}
response = requests.get(url, headers=headers)
print(json.loads(response.text))

d1959827cac3bdae4c948643015742e40c9df53c
<mask token>


def install(request):
    subprocess.check_call([sys.executable, '-m', 'pip', 'install', request])


<mask token>

<mask token>


def install(request):
    subprocess.check_call([sys.executable, '-m', 'pip', 'install', request])


install('requests')
<mask token>
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
<mask token>
print(json.loads(response.text))

<mask token>


def install(request):
    subprocess.check_call([sys.executable, '-m', 'pip', 'install', request])


install('requests')
<mask token>
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
url = 'https://api.elastic-cloud.com/api/v1/deployments'
apikey = 'YWVJeDQzc0JqR3d1aWxkMTZuWFM6cWFlWGFwTk5UaWFERUkweUZPRTVNZw=='
headers = {'Authorization': 'ApiKey ' + apikey}
response = requests.get(url, headers=headers)
print(json.loads(response.text))

import subprocess
import sys


def install(request):
    subprocess.check_call([sys.executable, '-m', 'pip', 'install', request])


install('requests')
import requests, json
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
url = 'https://api.elastic-cloud.com/api/v1/deployments'
apikey = 'YWVJeDQzc0JqR3d1aWxkMTZuWFM6cWFlWGFwTk5UaWFERUkweUZPRTVNZw=='
headers = {'Authorization': 'ApiKey ' + apikey}
response = requests.get(url, headers=headers)
print(json.loads(response.text))

import subprocess
import sys
def install(request):
      subprocess.check_call([sys.executable, "-m", "pip", "install", request])
install("requests")
import requests,json
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
url = "https://api.elastic-cloud.com/api/v1/deployments"
apikey="YWVJeDQzc0JqR3d1aWxkMTZuWFM6cWFlWGFwTk5UaWFERUkweUZPRTVNZw=="
headers = {'Authorization': 'ApiKey ' + apikey}
response = requests.get(url, headers=headers)
print(json.loads(response.text))
