Page 1 of 1

Donors vs User Stats Confusion

Posted: Thu Jun 11, 2020 8:23 pm
by rechenzeit
Can somebody explain me why querying the donors API with my username yields no results

Code: Select all

GET https://stats.foldingathome.org/api/donors?name=fbuchinger_5641b567&search_type=exact&passkey=&team=&month=6&year=2020

{"description": "No results", "monthly": false, "results": [], "month": 6, "year": 2020, "query": "donor", "path": "donors"}
while a call to the user API at the same time yields the correct results? (Remark: I tried the donor API request with my passkey as well but the response was the same, I'm also 100% sure I folded WUs in 06-2020)

Code: Select all

GET https://api.foldingathome.org/user/fbuchinger_5641b567

{"name":"fbuchinger_5641b567","id":214674987,"score":58836,"wus":5,"active_50":4,"active_7":4,"last":"2020-06-09 15:06:39","users":2715679,"teams":[{"team":264231,"name":"RechenZeit","score":58836,"wus":5,"last":"2020-06-09 01:26:21","active_50":4,"active_7":4}]}
Best regards.
Franz

Re: Donors vs User Stats Confusion

Posted: Thu Jun 11, 2020 8:30 pm
by Joe_H
As answered - viewtopic.php?f=61&t=35513&p=337193#p337193 - to another of your posts today, the api.foldingathome.org calls are not currently functional. What results hey display may be a cached version of a prior query, or against an old copy of the stats database.

The only stats lookups currently supported to be working start here - https://foldingathome.org/statistics/.

Some other lookups are available at apps.foldingathome.org.