Account
Information about your OpenET account.
Account Status
Account Storage
Upload a File
Decrypt a File
Last updated

Information about your OpenET account.
Last updated
curl -X 'GET' \
'https://openet-api.org/account/status' \
-H 'accept: application/json' \
-H 'Authorization: YOUR_API_KEY' import requests
# set your API key before making the request
header = {"Authorization": YOUR_API_KEY}
# query the api
resp = requests.get(
headers=header,
url="https://openet-api.org/account/status"
)
print(resp.json())curl -X 'GET' \
'https://openet-api.org/account/storage' \
-H 'accept: application/json' \
-H 'Authorization: YOUR_API_KEY' import requests
# set your API key before making the request
header = {"Authorization": YOUR_API_KEY}
# query the api
resp = requests.get(
headers=header,
url="https://openet-api.org/account/storage"
)
print(resp.json())curl -X 'POST' \
'https://openet-api.org/account/upload' \
-H 'accept: application/json' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: multipart/form-data' \
-F 'file=@YOUR_FILE.geojson'import requests
# set your API key before making the request
header = {"Authorization": YOUR_API_KEY}
# endpoint arguments
args = {
'file': ('PATH/TO/sample.geojson', open('PATH/TO/sample.geojson', 'rb'), 'application/geo+json')
}
# query the api
resp = requests.post(
headers=header,
files=args,
url="https://openet-api.org/account/upload"
)
print(resp.json())curl -X 'POST' \
'https://openet-api.org/account/decrypt' \
-H 'accept: application/json' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: multipart/form-data' \
-F 'file=@YOUR_ENCRYPTED_FILE.tif;type=image/tiff'import requests
# set your API key before making the request
header = {"Authorization": YOUR_API_KEY}
# endpoint arguments
args = {
'file': ('PATH/TO/encrypted.geojson', open('PATH/TO/encrypted.geojson', 'rb'), 'application/geo+json')
}
# query the api
resp = requests.get(
headers=header,
files=args,
url="https://openet-api.org/account/decrypt"
)
print(resp.json())