old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  """pynodebb/api/posts.py
  
  Copyright (c) 2015 David Vuong <david.vuong256@gmail.com>
  Licensed MIT
  """
  from __future__ import unicode_literals
  
  from pynodebb.api import Resource
  from pynodebb.api.mixins import ResourceListMixin
  from pynodebb.iterables import PostIterable
  
  
  class Post(Resource, ResourceListMixin):
      parent_resource = 'topic'
      parent_resource_path = 'topic/tid'
      resource_iterable = PostIterable
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  """pynodebb/api/posts.py
  
  Copyright (c) 2015 David Vuong <david.vuong256@gmail.com>
  Licensed MIT
  """
  from __future__ import unicode_literals
  
  from pynodebb.api import Resource
  from pynodebb.api.mixins import ResourceListMixin
  from pynodebb.iterables import PostIterable
  
  
  class Post(Resource, ResourceListMixin):
      parent_resource = 'topic'
      parent_resource_path = 'topic/tid'
      resource_iterable = PostIterable
  
      def create(self, tid, content):
          """Given the `tid` (topic id) and the `content` of a new post, create a post.
  
          Args:
              tid (str): The id of the topic we want to create a post for.
              content (str): The content of the actual post
  
          Returns:
              tuple: Tuple in the form (response_code, json_response)
  
          """
          return self.client.post('/api/v1/topics/' + tid, {
              'content': content
          })
  
subject: add posts.create wrapper (not tested)