Skip to content

Commit

Permalink
README.rst diff
Browse files Browse the repository at this point in the history
  • Loading branch information
greedo committed Jan 18, 2015
2 parents c72f2d2 + 87c006d commit 5ca0c97
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,49 @@ Requirements

- Python >= 2.7 or >= 3.3

DIY-FilingsResearch relies on `PyLucene <http://lucene.apache.org/pylucene/>`__.
For installation directions see the `wiki <https://github.com/greedo/DIY-FilingsResearch/wiki/PyLucene-installation-guide>`__.

Initialization
--------------

To start using the library, first import ``Ingestor`` and ``Edgar``

::

from ingestor import Ingestor, Edgar

``Edgar`` (US) and ``Sedar`` (Canada) are currently supported. Note however that the flows are a bit different.
See the note at the bottom about the ``Sedar`` flow.

Simple Download Workflow
------------------------

First specific what kind of files using the new ``Edgar`` basic object

::

ingestor = Ingestor()
edgar = Edgar("xbrl")

``xbrl`` or ``html`` are currently supported

Then pass ``ingest_stock()`` with a stock ticker to ingest and a directory to store the downloaded docs into
``file_downloader()``

::

ingestor.file_downloader(edgar.ingest_stock("AAPL"), downloaded_docs_directory)
See the `wiki <https://github.com/greedo/DIY-FilingsResearch/wiki/Using-the-document-ingestor#sedar-download-workflow-note>`__
for a special note on ``Sedar`` parsing.

Live Demo
---------

See DIY-FilingsResearch in action: http://finfeed.io/index


Testing
-------

Expand Down

0 comments on commit 5ca0c97

Please sign in to comment.