mirror of
https://github.com/hemna/aprsd-stock-plugin.git
synced 2025-07-01 16:35:19 -04:00
Compare commits
No commits in common. "master" and "v0.1.1" have entirely different histories.
10
ChangeLog
10
ChangeLog
@ -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
|
||||||
------
|
------
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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__)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user