Skip to content

Instantly share code, notes, and snippets.

@edstenson
Forked from badmetacoder/call-preview-create.sh
Last active December 28, 2015 05:18
Show Gist options
  • Save edstenson/7448312 to your computer and use it in GitHub Desktop.
Save edstenson/7448312 to your computer and use it in GitHub Desktop.
curl -X POST http://api.datasift.com/v1/preview/create \
-d 'start=1359849600' \
-d 'hash=e25d533cf287ec44fe66e8362f61961f' \
-d 'parameters=interaction.author.link,targetVol,hour;twitter.user.lang,freqDist,10;twitter.user.followers_count,numStats,hour;interaction.content,wordCount,10' \
-d 'sources=twitter,facebook' \
-H 'Authorization: datasift-user:your-datasift-api-key'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment