code: def post_vote(self, post_id, score):
          
          if score <= 3 and score >= 0:
              params = {'id': post_id, 'score': score}
              return self._get('post/vote', params, 'POST')
          else:
              raise PybooruAPIError("Value of 'score' only can be 0, 1, 2 or 3.")
docs: Action lets you vote for a post (Requires login).
  
          Parameters:
              post_id (int): The post id.
              score (int):
                  * 0: No voted or Remove vote.
                  * 1: Good.
                  * 2: Great.
                  * 3: Favorite, add post to favorites.
  
          Raises:
              PybooruAPIError: When score is > 3.