title: How to post and retrieve comment card data through Trello API?
body: <p>I'm building a web app that pushes and pulls data to/from Trello using its API.</p>
  
  <p>The current stack is pythonic and I use <a href="https://github.com/sarumont/py-trello" rel="nofollow">py-trello</a> to manage most of the API calls.
  But there's one endpoint leaving me perplex : <a href="https://developers.trello.com/advanced-reference/card#post-1-cards-card-id-or-shortlink-actions-comments" rel="nofollow">post a comment on a card</a></p>
  
  <p>It seems like the current <a href="https://github.com/sarumont/py-trello" rel="nofollow">py-trello</a> implementation does not provide a way to post a new comment and immediately retrieve its data. For example, you can do it with a List :</p>
  
  <pre><code>def add_list(self, name):
      """Add a list to this board
      :name: name for the list
      :return: the list
      :rtype: List
      """
      obj = self.client.fetch_json(
          '/lists',
          http_method='POST',
          post_args={'name': name, 'idBoard': self.id}, )
      return List.from_json(board=self, json_obj=obj)
  </code></pre>
  
  <p>Trello API return the created list object as a JSON object. <a href="https://github.com/sarumont/py-trello" rel="nofollow">py-trello</a> turns this JSON into a <a href="https://github.com/sarumont/py-trello/blob/master/trello/trellolist.py" rel="nofollow">List</a> object.</p>
  
  <p>Is there a way to do the same with <a href="https://github.com/sarumont/py-trello/blob/master/trello/card.py" rel="nofollow">Card</a> comment? Card class comes with an <em>"add comment"</em> feature (<a href="https://github.com/sarumont/py-trello/blob/master/trello/card.py#L298" rel="nofollow">code</a>).</p>
  
  <p>But Trello seems to return nothing...</p>
  
  <pre><code>&gt;&gt;&gt; # Card definition
  &gt;&gt;&gt; card = Card(parent=trello_board, card_id=id)
  &gt;&gt;&gt; # Fetching card data
  &gt;&gt;&gt; card.fetch()
  &gt;&gt;&gt; # This is correctly pushed to Trello
  &gt;&gt;&gt; obj = card.comment('Foo, bar!')
  &gt;&gt;&gt; import pprint
  &gt;&gt;&gt; # Hoping to print a big fat JSON
  &gt;&gt;&gt; pp = pprint.PrettyPrinter(indent=4)
  &gt;&gt;&gt; pp.pprint(obj)
  None
  </code></pre>
  
  <p>Any clue ? Thanks alot !</p>