def get_post(user_name, intra_hash)
      response = @conn.get @url_post.expand({
                                              :user_name => user_name,
                                              :intra_hash => intra_hash,
                                              :format => @format
                                            })

      if @parse
        attributes = JSON.parse(response.body)
        return Post.new(attributes["post"])
      end
      return response.body
    end
def get_post(user_name, intra_hash)
      response = @conn.get @url_post.expand({
                                              :user_name => user_name,
                                              :intra_hash => intra_hash,
                                              :format => @format
                                            })

      if @parse
        attributes = JSON.parse(response.body)
        return Post.new(attributes["post"])
      end
      return response.body
    end
Initializes the client with the given credentials.

 @param user_name [String] the name of the user account used for accessing the API
 @param api_key [String] the API key corresponding to the user account - can be obtained from http://www.bibsonomy.org/settings?selTab=1

 @param format [String] The requested return format. One of:
   'xml', 'json', 'ruby', 'csl', 'bibtex'. The default is 'ruby'
   which returns Ruby objects defined by this library. Currently,
   'csl' and 'bibtex' are only available for publications.


 Get a single post

 @param user_name [String] the name of the post's owner
 @param intra_hash [String] the intrag hash of the post
 @return [BibSonomy::Post, String] the requested post