Donors vs User Stats Confusion

If you're new to FAH and need help getting started or you have very basic questions, start here.

Moderators: Site Moderators, FAHC Science Team

Post Reply
rechenzeit
Posts: 9
Joined: Sun May 31, 2020 4:37 pm

Donors vs User Stats Confusion

Post 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
Joe_H
Site Admin
Posts: 7937
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Donors vs User Stats Confusion

Post 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.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Post Reply