This was discovered when I wanted to download the genotyping files of all ppl that have entered the peanut butter preference (c.f. https://twitter.com/gedankenstuecke/status/943205612837486592).
You can easily get all users that have a given phenotype and their variations through the API. Biut right now there's no easy API method for asking for genotyping download URLs for a set of users/single user.
While for i in $(cat phenotype.results.txt); do curl opensnp.org/user/$i |grep|…;done can approximate that, it's not really elegant. Having a respective method added to the API might be the better way.😂