Skip to content

Commit

Permalink
urban: They have a real API now
Browse files Browse the repository at this point in the history
  • Loading branch information
kylef committed Jul 7, 2012
1 parent 1af01c3 commit 2f119fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion urban.py
Expand Up @@ -4,7 +4,7 @@ class urban(Module):
@command(name='urban', description='Search urban dictionary')
@http
def search(self, event, query):
event.http('http://www.urbandictionary.com/iphone/search/define', qs={'term':query})
event.http('http://api.urbandictionary.com/v0/define', qs={'term':query})

@search.http(200)
def handle_search(self, event, response):
Expand Down

0 comments on commit 2f119fe

Please sign in to comment.