API BlogEntry.*

class cforces.methods.blog_entry.BlogEntry

Bases: object

async blog_entry_comments(blog_entry_id: int) List[Comment]

Retrieves every comment associated to a specific blog entry.

Parameters:

blog_entry_id – ID of the target blog entry. It can be seen in the blog entry URL. For example: /blog/entry/79, where the 79 represents the ID of the blog entry.

Returns:

The comments associated with the blog entry.

async blog_entry_view(blog_entry_id: int) BlogEntry

Retrieves a blog entry object in its full version.

Parameters:

blog_entry_id

ID of the target blog entry. It can be seen in the blog entry URL. For example: /blog/entry/79, where the 79 represents the ID of the blog entry.

Returns:

A blog entry object in its full version.