@pretty
@scene_type
@workspace
@cli.command('search')
@click.argument('aoi', default='@-', required=False)
@limit_option(1000)
@click.option('--where', nargs=3, multiple=True,
              help=('Provide additional search criteria. See '
                    'https://www.planet.com/docs/v0/scenes/#metadata for '
                    'search metadata fields.'))
@click.option('--aoi_id', help=(
    'Provider the identifier of an uploaded geometry'))
def get_scenes_list(scene_type, pretty, aoi, limit, where, workspace, aoi_id):

    aoi = read_aoi(aoi)
    conditions = {'workspace': workspace}
    conditions = {'aoi_id': aoi_id}

    if where:
        conditions.update([
            ("%s.%s" % condition[0:2], condition[2])
            for condition in where
        ])

    echo_json_response(call_and_wrap(
        client().get_scenes_list,
        scene_type=scene_type, intersects=aoi, count=limit,
        **conditions), pretty, limit=limit)
Get a list of scenes.
dataset/ETHPy150Open planetlabs/planet-client-python/planet/scripts/__init__.py/get_scenes_list