first implementation of dataset access via API, with optional API key