2018/09/24

Great! get source code in Python

Google BloggerのPythonLibを使って、Bloggerを操作したいですが、Docはどこにもない。。Great! get source code in Python
http = credentials.authorize(http = httplib2.Http())
service = build('blogger','v3',http=http)
posts = service.posts() 
#for x in inspect.getmembers(posts,inspect.ismethod or inspect.isfunction):
# print(x)
  print(inspect.getsource(posts.update))