Curso-lenguaje-python/catch-all/06_bots_telegram/07_movie2_bot/miners/Miner.py

21 lines
321 B
Python

from abc import ABCMeta, abstractmethod
class Miner(object):
__metaclass__ = ABCMeta
handle = None
@abstractmethod
def top_list(self, number):
pass
@abstractmethod
def get_movie_id(self, index):
pass
@abstractmethod
def get_movie_by_id(self, movie_id):
pass