Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Data access API #63
I'm really liking Acuparse for getting my data up to weather cloud. I'd like to create some "flashy graphics" using a json feed directly from Acuparse. I see that the have what looks like the current days data at
I'd like to create something like the following (from weathercloud) with a date range selector. My goal is to see from where the predominant wind comes from at a particular location and how that changes througout the year.
To do so I'd need to be able to fetch data similarly to…
This would return an array with the wind data for each day in the date range.
Are there any plans to provide something like this? Otherwise, I'd take a look at how I can get the data directly out of MySQL.
I would like it if acuparse would focus on collecting and providing the data.
If it would be easy to get the data out through a JSON API, I'm sure you would find plenty of people implementing interesting ways to display the data they are interested in. You could then add the good ones to the acuparse dashboard.
Perhaps an easy way to get started would be an API to access the
I agree. A proper flow for data output would need to be sorted. The Archive table would be the best place to pull from since it's the only table that does not get trimmed. I would be interested in hearing about endpoints we would want to see available.
Thinking about your wind data request. I imagine such a request to the API would be intensive. When pulling a wind range. There is an archive entry for each min. Are we pulling the result from each min over a year? Or, are we looking for a max each day etc?
How about preprocessing the data by hour, day and week. Depending on the timeframe you want, you could then access the more or less granular aggregation. So, for each field, you would average the values of that particular period. We could then request the weekly data over a year, or the hourly data over a week without overheating anyone's raspberry pi.