# Week long graphs?

**URL:** <https://community.purpleair.com/t/week-long-graphs/6081>\
**Category:** Data\
**Created:** [August 21, 2023, 9:31pm UTC](https://community.purpleair.com/t/week-long-graphs/6081 "2023-08-21T21:31:48Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Andrew](https://sea2.discourse-cdn.com/flex020/user_avatar/community.purpleair.com/andrew/32/1211_2.png) [@Andrew](https://community.purpleair.com/u/Andrew)\
**Post date:** [September 18, 2023, 8:24pm UTC](https://community.purpleair.com/t/week-long-graphs/6081/5 "2023-09-18T20:24:17Z")

</div>

The [Data Download Tool](https://community.purpleair.com/t/purpleair-data-download-tool/3787) is currently only available for Mac and Windows. However, the API can be accessed directly via any OS, provided your comfortable with a little bit of coding. There’s a full guide on the API and an article that gives examples of how to make API requests in a couple of different programming languages. I’ll link both below:

- [Making API Calls with the PurpleAir API](https://community.purpleair.com/t/making-api-calls-with-the-purpleair-api/180)
- [Making API Calls in Other Programming Languages](https://community.purpleair.com/t/making-api-calls-in-other-programming-languages/181)

**1. Do I pay for this before the period I want to download (5 weeks at 10 minute intervals) or do I pay afterwords?**  
You automatically receive 1 million free API points by creating an account. You can also receive additional points if you’ve purchased a sensor. You may wish to check how far those points will take you first. You’ll also want to make sure those points have been moved from your Organization to your Project. See more here: [New API Dashboard](https://community.purpleair.com/t/new-api-dashboard/3981#points-6)

**2. What does the API give me? Just the raw data which I have to analyse myself? Or has it tools to display the data in a graphical manner (ie a weekly graph showing when the restaurant is blasting PM2.5 into my flat)?**  
The API will return raw PurpleAir data. If you’d like to view it on a graph, I recommend using the map and changing your Average to 30-minute, which will give you 7 days of data on the graph (or 1-hour, which will give you 14 days). This is an example showing the “average” option with a public sensor in California:

 ![1-hour Average](https://us1.discourse-cdn.com/flex020/uploads/purpleair/original/2X/5/524a389338bc7776eef92013b1d51e0ccd867e51.png)

**3. If no graphical tools come with the API, where can I get them?**  
To create graphs, you could use Microsoft Excel or Google Sheets. If you’re comfortable programming, MatPlotLib is a great and simple choice for visualizations in Python.

---

_[View the full topic](https://community.purpleair.com/t/week-long-graphs/6081)._
