Quick Start: Command-Line Interface
Interact with the DataScribe API from your terminal. The CLI provides commands to list tables, query data, filter rows, inspect metadata, and search materials.
Usage
Global Options
--install-completion: Install shell completion.--show-completion: Show shell completion script.
Basic Commands
List and query tables, inspect columns, metadata, and row counts:
List tables available to the authenticated user
$ datascribe_cli data-tables-for-user --api-key YOUR_API_KEY
Filtering Rows
Filter rows using expressions and output as JSON:
$ datascribe_cli data-table-rows \
-t my_table \
-c col1,col2 \
--filter "temperature > 300" \
--filter "element in Fe,Ni,Co" \
--num-rows 50 \
--json > output.json
Materials Search
Search for materials:
Get materials by ID
Help
For more details on each command, use: