2011-01-11から1日間の記事一覧
Googleの短縮URLのAPIが提供されたので、Pythonでとりあえず短縮だけしてみた。 http://code.google.com/intl/ja/apis/urlshortener/v1/getting_started.html #!/usr/bin/env python # -*- coding: utf-8 -*- import urllib2 import simplejson API_URL = 'h…
Googleの短縮URLのAPIが提供されたので、Pythonでとりあえず短縮だけしてみた。 http://code.google.com/intl/ja/apis/urlshortener/v1/getting_started.html #!/usr/bin/env python # -*- coding: utf-8 -*- import urllib2 import simplejson API_URL = 'h…