/rfapi-python

Python library for using the Recorded Future API

Primary LanguagePythonApache License 2.0Apache-2.0

This repo has been deprecated and will be removed in the near future.

rfapi-python

Python 2/3 library for using the Recorded Future API

Recorded Future’s API enables you to build analytic applications and perform analysis which is aware of events happening around the globe 24x7. You can perform queries and receive results from the Recorded Future Temporal Analytics™ Engine across a vast set of events, entities, and time points spanning from the far past into the future.

We provide our users with an API client in this package; the Connect API Client, see below.

Installing

To install with pip run pip install rfapi

An API token is required to use the Recorded Future API. You can request a Recorded Future API token by contacting support@recordedfuture.com or your account representative. The easiest way to setup your program is to save your API token inside an environment variable RF_TOKEN. It is also possible to explicitly pass a token in the api client constructor.

Examples for Connect API

The Connect API client provides a façade for our simplified Connect API. See the Connect API Explorer.

Creating a ConnectApiClient
from rfapi import ConnectApiClient
api = ConnectApiClient()

# or explicitly
api = ConnectApiClient(auth='my_token')