publish()
Publish a blog post.
Usage
publish(
title,
body,
)Parameters
title: str-
The post title.
body: str-
The post body.
Returns
dict-
The published post record.
Examples
>>> publish("Hello", "World")
{'title': 'Hello', 'body': 'World', 'status': 'published'}