From 8a11d2ea15b873c98027646bb891b5c60a81f33e Mon Sep 17 00:00:00 2001 From: Ka Ho Wong Date: Thu, 20 Aug 2026 11:15:00 +0100 Subject: [PATCH 1/2] chore: add fixtures.ipynb try_me_out examples --- docs/examples/try_me_out/fixtures.ipynb | 97 +++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 docs/examples/try_me_out/fixtures.ipynb diff --git a/docs/examples/try_me_out/fixtures.ipynb b/docs/examples/try_me_out/fixtures.ipynb new file mode 100644 index 00000000..e03aa5ad --- /dev/null +++ b/docs/examples/try_me_out/fixtures.ipynb @@ -0,0 +1,97 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Try out the VortexaSDK" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "First let's import our requirements" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "tags": [] + }, + "outputs": [], + "source": [ + "from datetime import datetime\n", + "import vortexasdk as v" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Now let's load a dataframe of fixtures fixed at the start of January, 2020." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "You'll need to enter your Vortexa API key when prompted." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "tags": [] + }, + "outputs": [], + "source": [ + "df = v.Fixtures().search(\n", + " filter_time_field=\"fixing_timestamp\",\n", + " filter_time_min=datetime(2020, 1, 1),\n", + " filter_time_max=datetime(2020, 1, 2),\n", + ").to_df()" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "tags": [] + }, + "outputs": [], + "source": [ + "df.head()" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "That's it! You've successfully loaded data using the Vortexa SDK. Check out https://vortechsa.github.io/python-sdk/ for more examples" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.7.6" + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} From c5ceb1772a90661378a5496fcb469c35551ea60d Mon Sep 17 00:00:00 2001 From: kahoowkh Date: Thu, 20 Aug 2026 11:23:08 +0100 Subject: [PATCH 2/2] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- docs/examples/try_me_out/fixtures.ipynb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/examples/try_me_out/fixtures.ipynb b/docs/examples/try_me_out/fixtures.ipynb index e03aa5ad..43e88156 100644 --- a/docs/examples/try_me_out/fixtures.ipynb +++ b/docs/examples/try_me_out/fixtures.ipynb @@ -74,11 +74,12 @@ ] } ], - "metadata": { - "kernelspec": { - "display_name": "Python 3", - "name": "python3" - }, + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, "language_info": { "codemirror_mode": { "name": "ipython",