From aa572236e8c05901ea93419506fa521f03d2858a Mon Sep 17 00:00:00 2001 From: Dimitri Merejkowsky Date: Sun, 7 Apr 2019 14:11:47 +0200 Subject: [PATCH] marvel.py: Remove leftover from refactoring --- sources/marvel/marvel.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/sources/marvel/marvel.py b/sources/marvel/marvel.py index c13acad..380eb8e 100644 --- a/sources/marvel/marvel.py +++ b/sources/marvel/marvel.py @@ -84,13 +84,6 @@ class CharacterDescription(Query): def __init__(self, name): self.name = name - def get_character_description(self, name): - params = {"name": name} - body, attribution = self.make_request("/characters", params) - first_result = body["data"]["results"][0] - description = first_result["description"] - return (description, attribution) - def params(self): return {"name": self.name} @@ -111,12 +104,6 @@ class CreatorNumberOfSeries(Query): self.first_name = first_name self.last_name = last_name - def get_number_of_series(self, first_name, last_name): - params = {"firstName": first_name, "lastName": last_name} - body, attribution = self.make_request("/creators", params) - first_result = body["data"]["results"][0] - return (first_result["series"]["available"], attribution) - def params(self): return {"firstName": self.first_name, "lastName": self.last_name}