You've already forked Curso-lenguaje-python
Add movies trivial Bot for Telegram
This commit is contained in:
20
catch-all/06_bots_telegram/07_movie2_bot/miners/Miner.py
Normal file
20
catch-all/06_bots_telegram/07_movie2_bot/miners/Miner.py
Normal file
@@ -0,0 +1,20 @@
|
||||
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
|
||||
Reference in New Issue
Block a user