Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Marketplace Client Project » API for getting MarketPlace Metrics
API for getting MarketPlace Metrics [message #1037332] Tue, 09 April 2013 12:32 Go to next message
Massimo Rabbi is currently offline Massimo RabbiFriend
Messages: 29
Registered: November 2010
Location: Padova
Junior Member
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.

Is there some way to achieve that?

Thanks in advance,
Best regards,
Massimo.
Re: API for getting MarketPlace Metrics [message #1041702 is a reply to message #1037332] Mon, 15 April 2013 12:39 Go to previous messageGo to next message
Carsten Reckord is currently offline Carsten ReckordFriend
Messages: 27
Registered: June 2012
Junior Member
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 Go to previous messageGo to next message
Massimo Rabbi is currently offline Massimo RabbiFriend
Messages: 29
Registered: November 2010
Location: Padova
Junior Member
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 Go to previous messageGo to next message
Carsten Reckord is currently offline Carsten ReckordFriend
Messages: 27
Registered: June 2012
Junior Member
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.
Re: API for getting MarketPlace Metrics [message #1053060 is a reply to message #1049295] Thu, 02 May 2013 09:32 Go to previous message
Massimo Rabbi is currently offline Massimo RabbiFriend
Messages: 29
Registered: November 2010
Location: Padova
Junior Member
Hi Carsten,
thanks for suggestion. I just submitted this new enhancement request "Bug 407053 - Expose "Metrics" tab information via REST API"

Best regards,
Massimo.
Previous Topic:Request for Proposal for MPC Developement
Next Topic:Linux (Fedora) Marketplace access problem
Goto Forum:
  


Current Time: Sat Dec 07 03:32:11 GMT 2024

Powered by FUDForum. Page generated in 0.02714 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top