Skip to content

Commit 93444a9

Browse files
committed
Add license, update readme
1 parent 2aa5214 commit 93444a9

3 files changed

Lines changed: 29 additions & 607 deletions

File tree

‎LICENSE‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Dune Analytics
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

‎README.md‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ A command-line interface for interacting with the Dune Analytics API.
88
# Save your API key to ~/.config/dune/config.yaml
99
dune auth --api-key <key>
1010

11+
# Or run interactively (prompts for key)
12+
dune auth
13+
1114
# Or set via environment variable
1215
export DUNE_API_KEY=<key>
1316
```
@@ -26,16 +29,16 @@ Manage and execute Dune queries.
2629
| `query get <query-id>` | Get a saved query's details and SQL |
2730
| `query update <query-id> [--name] [--sql] [--description] [--private] [--tags]` | Update an existing query |
2831
| `query archive <query-id>` | Archive a saved query |
29-
| `query run <query-id> [--param key=value] [--performance medium\|large] [--limit] [--no-wait]` | Execute a saved query and display results |
30-
| `query run-sql --sql <sql> [--param key=value] [--performance medium\|large] [--limit] [--no-wait]` | Execute raw SQL directly |
32+
| `query run <query-id> [--param key=value] [--performance medium\|large] [--limit] [--timeout] [--no-wait]` | Execute a saved query and display results |
33+
| `query run-sql --sql <sql> [--param key=value] [--performance medium\|large] [--limit] [--timeout] [--no-wait]` | Execute raw SQL directly |
3134

3235
### `dune execution`
3336

3437
Manage query executions.
3538

3639
| Command | Description |
3740
|---------|-------------|
38-
| `execution results <execution-id> [--limit] [--offset]` | Fetch results of a query execution |
41+
| `execution results <execution-id> [--limit] [--offset] [--timeout] [--no-wait]` | Fetch results of a query execution |
3942

4043
### `dune dataset`
4144

@@ -44,6 +47,7 @@ Search the Dune dataset catalog.
4447
| Command | Description |
4548
|---------|-------------|
4649
| `dataset search [--query] [--categories] [--blockchains] [--schemas] [--dataset-types] [--owner-scope] [--include-private] [--include-schema] [--include-metadata] [--limit] [--offset]` | Search for datasets |
50+
| `dataset search-by-contract --contract-address <address> [--blockchains] [--include-schema] [--limit] [--offset]` | Search for decoded tables by contract address |
4751

4852
Categories: `canonical`, `decoded`, `spell`, `community`
4953

@@ -65,4 +69,4 @@ dune usage [--start-date YYYY-MM-DD] [--end-date YYYY-MM-DD]
6569

6670
## Output Format
6771

68-
Most commands support `-o, --output <format>` with `text` (default) or `json`.
72+
All commands (except `auth`) support `-o, --output <format>` with `text` (default) or `json`.

0 commit comments

Comments
 (0)