code: def post_vote(self, post_id, score):
          
          return self._get('posts/{0}/votes.json'.format(post_id),
                           {'score': score}, 'POST', auth=True)
docs: Action lets you vote for a post (Requires login).
          Danbooru: Post votes/create.
  
          Parameters:
              post_id (int):
              score (str): Can be: up, down.