|
Re: API for getting MarketPlace Metrics [message #1041702 is a reply to message #1037332] |
Mon, 15 April 2013 12:39   |
Eclipse User |
|
|
|
Hi Massimo,
Answers below:
On 09.04.2013 14:32, Massimo Rabbi wrote:
> Hi all,
> I would like to know if there is a way to retrieve the "Metrics" information shown in the dedicated tab of the project page in the Eclipse Marketplace.
> I gave a quick look at this wiki page: hxxp://wiki.eclipse.org/Marketplace/REST
>
> But I found out that using an URL like this:
> hxxp://marketplace.eclipse.org/content/<myprojectname>/api/p
> returns information that are mostly shown in the details tab.
As you have probably seen already, you can get the favorited count and the
total and recent (last 30 days) number of installs from the REST API. For
example, http://marketplace.eclipse.org/content/subclipse/api/p currently
gives me
<favorited>367</favorited>
<installstotal>365920</installstotal>
<installsrecent>29131</installsrecent>
> Is there some way to achieve that?
To my knowledge, there is no REST API to retrieve metrics over time as shown
on the Metrics tab on the website. Do you have a specific use case in mind
for that data?
Best regards,
Carsten
|
|
|
Re: API for getting MarketPlace Metrics [message #1041716 is a reply to message #1041702] |
Mon, 15 April 2013 12:59   |
Eclipse User |
|
|
|
Hi Carsten,
thank you very much for the reply.
I was interested in producing myself a similar report to what there is right now in metrics tab.
So I could cross the download/installation information coming from both Eclipse Marketplace and maybe Sourceforge where the project packages are hosted.
I suspected there were no REST API, because I didn't see any mention about metrics in the wiki page.
Do you have any clue if there are plans to expose them?
Thanks in advance!
Massimo.
|
|
|
Re: API for getting MarketPlace Metrics [message #1049295 is a reply to message #1041716] |
Thu, 25 April 2013 16:41   |
Eclipse User |
|
|
|
Massimo,
On 15.04.2013 14:59, Massimo Rabbi wrote:
> I suspected there were no REST API, because I didn't see any mention about metrics in the wiki page.
>
> Do you have any clue if there are plans to expose them?
I am not aware of any plans to expose this as API.
Since the Marketplace server is a closed source module integrated in the
Foundation's Drupal CMS, it would also be difficult to contribute an
implementation for it.
If you really need it, I would suggest filing a bug against
Community/Marketplace to outline your use case and discuss this further.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03899 seconds