Skip to content

Instantly share code, notes, and snippets.

@ojimac
Created June 2, 2012 03:38
Show Gist options
  • Save ojimac/2856423 to your computer and use it in GitHub Desktop.
Save ojimac/2856423 to your computer and use it in GitHub Desktop.
はてブAPI 複数のASINに対する被コレクション数を出力するサンプルスクリプト(python版)
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import xmlrpclib
proxy = xmlrpclib.ServerProxy('http://b.hatena.ne.jp/xmlrpc')
print proxy.bookmark.getAsinCount('4774124966','4886487319')
@ojimac
Copy link
Author

ojimac commented Jun 2, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment