mirror of
https://github.com/brygphilomena/pysimplesat.git
synced 2025-12-06 07:12:34 +00:00
16 lines
285 B
Python
16 lines
285 B
Python
|
|
import os
|
||
|
|
from pysimplesat import SimpleSatAPIClient
|
||
|
|
from dotenv import load_dotenv
|
||
|
|
|
||
|
|
load_dotenv()
|
||
|
|
|
||
|
|
privatekey = os.getenv('SIMPLESAT_API_TOKEN')
|
||
|
|
|
||
|
|
# init client
|
||
|
|
simplesat_api_client = SimpleSatAPIClient(
|
||
|
|
privatekey,
|
||
|
|
)
|
||
|
|
|
||
|
|
#account = simplesat_api_client.account.get()
|
||
|
|
#print(account)
|