Compare commits

..

No commits in common. "master" and "v0.1.1" have entirely different histories.

3 changed files with 9 additions and 12 deletions

View File

@ -1,16 +1,6 @@
CHANGES CHANGES
======= =======
v0.1.2
------
* Updated README
v0.1.1
------
* Working plugin pulled from aprsd itself
v0.1.0 v0.1.0
------ ------

View File

@ -36,7 +36,13 @@ APRSD Yahoo Finance Stock Quotes
Features Features
-------- --------
* APRSD Plugin that gets a stock quote from Yahoo Finance python API and returns that. * TODO
Requirements
------------
* TODO
Installation Installation

View File

@ -2,7 +2,7 @@ import logging
import re import re
import yfinance as yf import yfinance as yf
from aprsd import plugin from aprsd import plugin, trace
import aprsd_stock_plugin import aprsd_stock_plugin
@ -26,6 +26,7 @@ class YahooStockQuote(plugin.APRSDRegexCommandPluginBase):
# Do some checks here? # Do some checks here?
self.enabled = True self.enabled = True
@trace.trace
def process(self, packet): def process(self, packet):
LOG.info(self.__class__.__name__) LOG.info(self.__class__.__name__)