Skip to main content
100%

taxonomy service

✓ Published0🌍 Public
Aandrewxhill
Last edited Apr 21, 2011
Created on Apr 21, 2011

This example implements a taxonomy search service for species data, returning filtered results by taxonomic ranks such as kingdom, phylum, class, order, family, genus, and species. It queries a Google App Engine datastore using the `Species` and `SpeciesIndex` models, applying up to two user-specified filters and optional range-map constraints. The service supports key-based lookups and offset/limit pagination, then serializes each result into JSON with rank, name, classification, authority, and alternate names. It uses the `simplejson` library for parsing stored JSON fields and the datastore’s `db.Key.from_path` for direct entity retrieval.

AI-generated description

Similar vizzes