From 307ebff3b39fda61ab62e02e8d5709207307e2b0 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sun, 9 Aug 2015 14:39:59 -0700 Subject: [PATCH] annotate this with the type --- client/ponyapi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/client/ponyapi.py b/client/ponyapi.py index 42e63a2..c96e5a1 100644 --- a/client/ponyapi.py +++ b/client/ponyapi.py @@ -67,6 +67,7 @@ get_season = _base_get("", "season") # get_episode :: Int -> Int -> IO Episode get_episode = _base_get("", "season", "episode") +# search :: String -> IO [Episode] def search(query): params = {"q": query} r = requests.get(API_ENDPOINT + "/search", params=params)