<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Download Stats API</title><link>https://sourceforge.net/p/forge/documentation/Download%2520Stats%2520API/</link><description>Recent changes to Download Stats API</description><atom:link href="https://sourceforge.net/p/forge/documentation/Download%20Stats%20API/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 13 Apr 2022 18:57:48 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/forge/documentation/Download%20Stats%20API/feed" rel="self" type="application/rss+xml"/><item><title>Download Stats API modified by Dave Brondsema</title><link>https://sourceforge.net/p/forge/documentation/Download%2520Stats%2520API/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -1,6 +1,6 @@
 The API uses URLs very similar to the existing stats URLs.  Here's an example:

-https://sourceforge.net/projects/openofficeorg.mirror/files/stats/json?start_date=2014-10-29&amp;amp;end_date=2014-11-04
+&lt;a href="https://sourceforge.net/projects/openofficeorg.mirror/files/stats/json?start_date=2014-10-29&amp;amp;end_date=2014-11-04" rel="nofollow"&gt;https://sourceforge.net/projects/openofficeorg.mirror/files/stats/json?start_date=2014-10-29&amp;amp;end_date=2014-11-04&lt;/a&gt;

 To access project-wide stats, use /files/stats/json in the URL.  To limit to a file or folder, use /files/some/path/stats/json

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Wed, 13 Apr 2022 18:57:48 -0000</pubDate><guid>https://sourceforge.netaf48c067b436f3b338d31a8442ddb83dd99ab3cd</guid></item><item><title>Download Stats API modified by SourceForge Support</title><link>https://sourceforge.net/p/forge/documentation/Download%2520Stats%2520API/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -8,7 +8,7 @@

 * `start_date` - required, date in YYYY-MM-DD format
 * `end_date` - required, date in YYYY-MM-DD format
-* `period` - optional, control the level of detail in the results.  Automatically defaults based on size of date range.  May specify "daily" "weekly" or "monthly"
+* `period` - optional, control the level of detail in the results.  Automatically defaults based on the size of the date range.  May specify "daily" "weekly" or "monthly"
 * `os_by_country` - optional, include OS by Country breakdown.  On by default.  For a small performance improvement, pass `os_by_country=false`.
 * `country_codes` - optional, use 2-letter country codes in result.  Default is to use country names.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SourceForge Support</dc:creator><pubDate>Thu, 04 Nov 2021 17:46:56 -0000</pubDate><guid>https://sourceforge.netdd00a95d34bf0e08bda2e8f565a10f99d8e4be7b</guid></item><item><title>Download Stats API modified by Dave Brondsema</title><link>https://sourceforge.net/p/forge/documentation/Download%2520Stats%2520API/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -1,5 +1,3 @@
-&lt;div class="info"&gt;Download Stats are temporarily delayed as we finalize our transition to a completely new datacenter.  We are continuing to collect data and will backfill when the service is fully restored.  Thank you for your patience.&lt;/div&gt;
-
 The API uses URLs very similar to the existing stats URLs.  Here's an example:

 https://sourceforge.net/projects/openofficeorg.mirror/files/stats/json?start_date=2014-10-29&amp;amp;end_date=2014-11-04
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Wed, 14 Mar 2018 22:12:57 -0000</pubDate><guid>https://sourceforge.net3976a2a8a71f909b15de5f5612d17d297872bf90</guid></item><item><title>Download Stats API modified by Dave Brondsema</title><link>https://sourceforge.net/p/forge/documentation/Download%2520Stats%2520API/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -1,3 +1,5 @@
+&lt;div class="info"&gt;Download Stats are temporarily delayed as we finalize our transition to a completely new datacenter.  We are continuing to collect data and will backfill when the service is fully restored.  Thank you for your patience.&lt;/div&gt;
+
 The API uses URLs very similar to the existing stats URLs.  Here's an example:

 https://sourceforge.net/projects/openofficeorg.mirror/files/stats/json?start_date=2014-10-29&amp;amp;end_date=2014-11-04
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Wed, 21 Feb 2018 17:29:26 -0000</pubDate><guid>https://sourceforge.netc02eb3e47410c31f550326f8be63d5cbe2139d5c</guid></item><item><title>Download Stats API modified by Dave Brondsema</title><link>https://sourceforge.net/p/forge/documentation/Download%2520Stats%2520API/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -2,7 +2,15 @@

 https://sourceforge.net/projects/openofficeorg.mirror/files/stats/json?start_date=2014-10-29&amp;amp;end_date=2014-11-04

-The url parameters start_date and end_date are required and must be dates in YYYY-MM-DD format.  To access project-wide stats, use /files/stats/json in the URL.  To limit to a file or folder, use /files/some/path/stats/json
+To access project-wide stats, use /files/stats/json in the URL.  To limit to a file or folder, use /files/some/path/stats/json
+
+URL parameters:
+
+* `start_date` - required, date in YYYY-MM-DD format
+* `end_date` - required, date in YYYY-MM-DD format
+* `period` - optional, control the level of detail in the results.  Automatically defaults based on size of date range.  May specify "daily" "weekly" or "monthly"
+* `os_by_country` - optional, include OS by Country breakdown.  On by default.  For a small performance improvement, pass `os_by_country=false`.
+* `country_codes` - optional, use 2-letter country codes in result.  Default is to use country names.

 The return data is in JSON format.  The data should be pretty self-explanatory.  A few notes:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Mon, 18 Dec 2017 16:27:56 -0000</pubDate><guid>https://sourceforge.net642c7206c14977e410de6bab9929d0c624d69ee4</guid></item><item><title>Download Stats API modified by Dave Brondsema</title><link>https://sourceforge.net/p/forge/documentation/Download%2520Stats%2520API/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,6 +1,6 @@
 The API uses URLs very similar to the existing stats URLs.  Here's an example:

-http://sourceforge.net/projects/xbmc/files/XBMC%20Live/stats/json?start_date=2010-05-01&amp;amp;end_date=2010-05-11
+https://sourceforge.net/projects/openofficeorg.mirror/files/stats/json?start_date=2014-10-29&amp;amp;end_date=2014-11-04

 The url parameters start_date and end_date are required and must be dates in YYYY-MM-DD format.  To access project-wide stats, use /files/stats/json in the URL.  To limit to a file or folder, use /files/some/path/stats/json

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Wed, 29 Jul 2015 19:59:08 -0000</pubDate><guid>https://sourceforge.netaa70dec06ecf872cc719fdfa5379b7cad485218a</guid></item><item><title>WikiPage Download Stats API modified by Dave Brondsema</title><link>https://sourceforge.net/p/forge/documentation/Download%2520Stats%2520API/</link><description>&lt;pre&gt;--- v1
+++ v2
@@ -9,4 +9,5 @@
 * "messages" may contain a list of informational messages, e.g. the date range was adjusted due to out of bounds start/end date
 * "period" contains one of daily, weekly, monthly.  This is auto-selected based on the size of the date range, and the "downloads" list will contain days, weeks, or months respectively
 * "countries" uses full names
+* "stats_updated" is a timestamp.  Stats have been updated up to that point in time.
 * all dates are UTC
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 05 Jul 2012 13:25:35 -0000</pubDate><guid>https://sourceforge.net759e41de4ca598e465781a9d0c6dc700768a0bb8</guid></item></channel></rss>