Open thijs-hakkenberg opened 1 year ago
Implementation which is now fixed for me:
def get_posts(site_url, username, password): wp = Client( url=site_url, username=username, password=password, blog_id=0, transport=None ) posts = wp.call( method=GetPosts() ) for post in posts: print(post.title)
I received an error that the module collections did not have 'iterable'. in the last version of the code, indeed this was the case. Hopeful this may prevent import issues of others as well