EarthScope SDK Usage#
The EarthScope Software Development Kit (SDK) is designed to facilitate easy access to NSF SAGE and GAGE data.
NOTE: In order to use the EarthScope API via this SDK, users must first register for a free EarthScope Account. Visit our EarthScope User Management account page to sign up and/or view your existing user profile.
Usage#
The most convenient way to use the EarthScope SDK is the EarthScopeClient class. This class will automatically load credentials from your machine.
from earthscope_sdk import EarthScopeClient
client = EarthScopeClient()
client.user.get_profile()
Async Usage#
Users writing their code as async should use AsyncEarthScopeClient.
from earthscope_sdk import AsyncEarthScopeClient
client = AsyncEarthScopeClient()
async def main():
await client.user.get_profile()