Skip to content

Commit

Permalink
renamed readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehren Murdick committed Apr 27, 2009
1 parent 5cb859a commit f90aab2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
5 changes: 0 additions & 5 deletions README

This file was deleted.

20 changes: 20 additions & 0 deletions README.textile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
h1. Gnap

<span style="position:relative; top: -28px; left: 13px;">_"nap"_</span>

Gnap is an interface to Gnip's api. It has not been written yet. The following code is how I hope to make it work, and is subject to change.

<pre>
<code>
gnap = Gnap.new("username", "password")

# current activity for twitter
gnap.publisher("twitter").activity

# last five minutes
gnap.publisher("twitter").activity(5.minutes.ago..Time.now)

# last hour
gnap.publisher("twitter").activity(1.hour.ago..Time.now)
</code>
</pre>

0 comments on commit f90aab2

Please sign in to comment.