Update to use the latest version of discovery.

Reviewed in: http://codereview.appspot.com/4449066/
diff --git a/samples/api-python-client-doc/index.html b/samples/api-python-client-doc/index.html
index a1f0dd0..20764f0 100644
--- a/samples/api-python-client-doc/index.html
+++ b/samples/api-python-client-doc/index.html
@@ -6,7 +6,7 @@
   <body>
     <h1> Google API Client for Python Documentation </h1>
     {% for item in directory %}
-    <p><a href="/{{ item.name }}/{{ item.version }}"><img src="{{ item.icons.x32 }}"/> {{ item.description }} </a></p>
+    <p><a href="/{{ item.name }}/{{ item.version }}"><img src="{{ item.icons.x32 }}"/> {{ item.title }} </a></p>
     {% endfor %}
   </body>
 </html>
diff --git a/samples/api-python-client-doc/main.py b/samples/api-python-client-doc/main.py
index df0209a..506f27a 100755
--- a/samples/api-python-client-doc/main.py
+++ b/samples/api-python-client-doc/main.py
@@ -35,8 +35,10 @@
 
   def get(self):
     http = httplib2.Http(memcache)
-    resp, content = http.request('https://www.googleapis.com/discovery/v0.3/directory?preferred=true')
+    resp, content = http.request('https://www.googleapis.com/discovery/v1/apis?preferred=true')
     directory = simplejson.loads(content)['items']
+    for item in directory:
+      item['title'] = item.get('title', item.get('description', ''))
     path = os.path.join(os.path.dirname(__file__), 'index.html')
     self.response.out.write(
         template.render(