> For the complete documentation index, see [llms.txt](https://brightwind.gitbook.io/brighthub-user-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brightwind.gitbook.io/brighthub-user-docs/brighthub-python-user-guide/accessing-data-via-the-brighthub-api.md).

# Accessing data via the BrightHub API

You can quickly pull metadata and timeseries data from measurement stations you have access to using the BrightHub API for Python. This page provides a short tutorial in the form of an example, pulling timeseries and metadata from an open source data set.&#x20;

{% hint style="warning" %}
This tutorial only details using the BrightHub API prepackaged within the opensource Python BrightWind library.

For more detailed documentation on using the BrightHub API see the [API Reference](/brighthub-user-docs/api-reference.md).
{% endhint %}

***

**Before starting**

You should have:

* Installed the BrightWind Python library (see [BrightWind Library Installation](/brighthub-user-docs/brighthub-python-user-guide/brightwind-library-installation.md))
* Set up a free BrightHub account (see [Create a BrightHub User Account](/brighthub-user-docs/quick-start-guide/create-a-brighthub-user-account.md))
* Set up your own measurement station (see [Station Setup Guide](/brighthub-user-docs/station-setup-guide.md))


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://brightwind.gitbook.io/brighthub-user-docs/brighthub-python-user-guide/accessing-data-via-the-brighthub-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
