Skip to content

Commit

Permalink
Add one more example
Browse files Browse the repository at this point in the history
  • Loading branch information
saraeq committed Jan 8, 2025
1 parent ce9c908 commit 7f78067
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ For fundamental questions please refer to the MSAL documentation which has [code

You should also familiarize yourself with the [azure.identity](https://learn.microsoft.com/en-us/python/api/overview/azure/identity-readme?view=azure-python) package, which we will use below.

Follow [client credentials flow example](https://github.com/equinor/omnia-timeseries-python/blob/main/examples/client_secret_auth.ipynb) to learn how to retrieve data in `Json` format.
Follow [client credentials flow example](https://github.com/equinor/omnia-timeseries-python/blob/main/examples/usage_example.ipynb) to learn how to retrieve data in `Json` format.
Follow [get data as protobuf example](https://github.com/equinor/omnia-timeseries-python/blob/main/examples/get_data_protobuf.ipynb) to learn how to retrieve data in `Protobuf` format.

### Preparing Azure authentication
Expand Down
16 changes: 16 additions & 0 deletions examples/usage_examples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,22 @@
"endTime=\"2024-12-09T15:00:01.000Z\""
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Search Timeseries API"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"api.search_timeseries(limit=10)"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down

0 comments on commit 7f78067

Please sign in to comment.