aerialmonitor / cloacina

Tools for downloading from the LexisNexis API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cloacina

Tools for downloading from the LexisNexis API

Currently, cloacina includes high-level interfaces for several LexisNexis endpoint and operations, including:

  • authentication

  • getting the number of results available for a given source for a given day

  • downloading and formatting all articles for a given source for a given day

Usage

Run a test to download some days of BBC Monitoring articles like this: python bbc_test_download.py

To modify the sources and dates downloaded, modify the source_list.csv file, which is actually a semicolon separated file with source;startdate;enddate.

The Mongo collection the stories go into is specified in the default_config.ini file.

If you're a memeber of the Open Event Data Alliance, get in touch with me for the test username/password.

About

Tools for downloading from the LexisNexis API

License:MIT License


Languages

Language:Python 100.0%