Code Samples‎ > ‎

curl (command line)

Some examples:

# Get all consenting People on Willpath updated since Feb 10th, 2012 at 12:36:42 UTC - and pipe the result to gunzip for decompression
curl -u "username:password" -H "Accept-Encoding: gzip,deflate" | gunzip

# Get all FitbitSummaries since the updated_since date for the Person with the uuid specified: 
curl -u username:password -H "Accept-Encoding: gzip,deflate" | gunzip

# note: You don't need to use the gzip compression, but we recommend it to minimize network bandwidth and reduce resource consumption.