| Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
| World Community Grid Forums
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 65
|
|
| Author |
|
|
KerSamson
Master Cruncher Switzerland Joined: Jan 29, 2007 Post Count: 1684 Status: Offline Project Badges:
|
Hello Erika,
----------------------------------------happy new year ! I thank you for considering this request. Regards, Yves |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Since you are working on improvement, I would really appreciate that we will have the possibility to collect the "Statistics By Project" (see the project list on MyContribution page: Statistics By Project) as .json or .xml with the same mechanism (API) as for the WU results. Hello KerSamson,This is not something that we can do immediately; therefore, I have added it to the backlog. Thank you for your support, ErikaT Confused, I've got project level xml mapping, used for all the charts. Surely help specifies that json is available too. History https://www.worldcommunitygrid.org/stat/viewP...&numRecordsPerPage=91 (can be 10000, which then basically pull all history) Daily (emulated to show as the Global day page) https://www.worldcommunitygrid.org/stat/viewP...amp;projectShortName=zika |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Hover links to see the full url addresses.
|
||
|
|
knreed
Former World Community Grid Tech Joined: Nov 8, 2004 Post Count: 4504 Status: Offline Project Badges:
|
Only some of the stats interfaces can be rendered in JSON vs XML. Those versions were created in the mid-2000's and use techniques for rendering that are no longer what I would call best practice.
Starting last summer we full defined our standard (interally) for REST oriented API (JSON only). For example, for public data we now set the CORS policies (see http://en.wikipedia.org/wiki/Cross-origin_resource_sharing) required so that someone could develop a widget on another site which shows live data. Those same policies disallow access to personal data from other sites. As we make changes that require API interaction, we are implementing them in this style. We need to get the following documented and into our FAQs: All start with https://www.worldcommunitygrid.org /api/v2/global /api/v2/global/history /api/v2/global/history/yesterday /api/v2/projects /api/v2/projects/{projectShortName} /api/v2/projects/{projectShortName}/history /api/v2/projects/{projectShortName}/history/today /api/v2/projects/{projectShortName}/history/yesterday For the API's that require pagination, you will add the parameters pageNumber and limit to control which records are returned. These will also include a metadata section in the returned result set that provides details of what records are available and what you requested: "_metadata": { |
||
|
|
knreed
Former World Community Grid Tech Joined: Nov 8, 2004 Post Count: 4504 Status: Offline Project Badges:
|
Since you are working on improvement, I would really appreciate that we will have the possibility to collect the "Statistics By Project" (see the project list on MyContribution page: Statistics By Project) as .json or .xml with the same mechanism (API) as for the WU results. Hello KerSamson,This is not something that we can do immediately; therefore, I have added it to the backlog. Thank you for your support, ErikaT Also - it is my fault that Erika gave this faulty response. I had forgotten that our new API's had this capability (I knew that our old XML ones did not). More reason for us to get our internal documentation about these API's into the FAQs. |
||
|
|
KerSamson
Master Cruncher Switzerland Joined: Jan 29, 2007 Post Count: 1684 Status: Offline Project Badges:
|
Hi Kevin,
----------------------------------------I thank you for this enjoyable feedback resp. announcement. It is much appreciated. However, it would be fine to have a brief (limited) description of the additional API invocation, in order for me to test these new features. If it is convenient for you, your send me the information directly and I will return a formal description proposal to you after testing. Cheers, Yves |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
From Help:
Search Results for: xml Do you have an XML interface for the statistics? You may obtain an XML version for most of the public statistics pages by simply adding either "?xml=true" if there are no other parameters in the URL or "&xml=true" if there already are parameters on the URL for the page. Alternatively, you can view the XML page and follow the references provided on that XML document to go to locate pages that are in XML format. |
||
|
|
KerSamson
Master Cruncher Switzerland Joined: Jan 29, 2007 Post Count: 1684 Status: Offline Project Badges:
|
Hi SekeRob,
----------------------------------------I mean the "MyContribution page: Statistics By Project" not the global project statistics page (I am already aware about the "&xml=true" invocation for this). Cheers, Yves |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
The main My Contribution page has always (since a very long time) been accessible with the verification code [no password required], which does arrive in xml format since a few years, at least for me, without needing to specify the ?/&xml=true appendix. Format
https://www.worldcommunitygrid.org/verifyMemb...amp;code=verificationcode (hover over url to see full path) As was earlier noted in this thread or the other v.v. API issues, it has been requested several times to include the Dev.Stats, Dev.Profiles and Statistics History, the automated sign in being plain unreliable across various IE versions. |
||
|
|
KerSamson
Master Cruncher Switzerland Joined: Jan 29, 2007 Post Count: 1684 Status: Offline Project Badges:
|
Hi SekeRob,
----------------------------------------many thanks ! It works very well but it was not documented !!! It is a real pity, since I asked several times in the past for it and I never received so a clear answer like yours today. During this time, I regularly checked the API description. It has impacted the project I had with my master students during the last 4 months Cheers, Yves |
||
|
|
|