README.md in postrank-api-0.1.3 vs README.md in postrank-api-0.2.0
- old
+ new
@@ -21,18 +21,18 @@
# grab the top recent post from igvita.com
top = api.top_posts(igvita['id'], :num => 1)
# lookup the engagement score for the past two days
- eng = api.engagement(igvita['id'], :start => 'yesterday')
+ eng = api.feed_engagement(igvita['id'], :start_time => 'yesterday')
# lookup social metrics for a url
metrics = api.metrics('http://www.igvita.com/')
# get recommended feeds
recommendations = api.recommendations(igvita['id'])
- #lookup relative postranks for given posts
+ # lookup thematic postranks for given posts
postrank = api.postrank(top['items'].collect!{|info| info['original_link']})
- #lookup metrics history for a given post hash
- history = api.postrank(top['items'].first['id'], :start => '1 month ago')
\ No newline at end of file
+ # lookup metrics history for a given post hash
+ history = api.postrank(top['items'].first['id'])