Skip to content

Releases: RavenPack/python-api

Version 1.0.37

09 Jul 14:45
e3f338f
Compare
Choose a tag to compare

Added

  • Creating and saving folders in Text-Analytics
  • New save method on File

Changed

  • Renamed filter filename parameter to file_name in UploadApi.list()
  • Entity reference is now sorted by range_start

Fixed

  • Better error catching for realtime feed subscriptions

Version 1.0.36

09 Jul 14:45
2d54c8f
Compare
Choose a tag to compare

Changed

  • Text-Analytics API endpoint updated: folders & richer metadata
  • Extended error handling to support Feed disconnection problems

Version 1.0.35

09 Jul 14:45
49edef6
Compare
Choose a tag to compare

Added

Initial support for the Text-Analytics API endpoints

Version 1.0.34

09 Jul 14:45
eaa3743
Compare
Choose a tag to compare

Added

Retrieve a lazy-loaded dataset when setting one of its paramters.

Version 1.0.33

09 Jul 14:45
Compare
Choose a tag to compare

Changed

  • A default timeout of 10" on connection and 60" on silence has been added to all the API calls
  • Retrieve or save a flatfile using the new methods get_flatfile and save_flatfile.
    See get_historical_flat_list.py for a complete example.

Version 1.0.32

09 Jul 14:45
Compare
Choose a tag to compare

Added

The RPApi instance gets two new methods:

  • get_document_url to retrieve the document url from a RP_STORY_ID
  • get_flatfile_list to retrieve the list of the available flatfiles for companies
    or full (for all the entities)

Version 1.0.31

09 Jul 14:45
d5394fe
Compare
Choose a tag to compare

Added

  • Ad-hoc api.json() method now supports conditions and custom_fields

Version 1.0.30

09 Jul 14:45
1e63525
Compare
Choose a tag to compare

Added

  • New parameter common_request_params added to the RT stream requests.

Version 1.0.29

09 Jul 14:45
Compare
Choose a tag to compare

Changed

dataset creation explicit parameters

The Dataset parameters are not explictly passed in the constructor instead of
being hidden in the kwargs.

This allows also to clearly support custom_fields and conditions.

A few new examples have been added or updated:
get historical flat files and
create a dataset with custom_fields and conditions.

Version 1.0.28

09 Jul 14:45
Compare
Choose a tag to compare

Added

New dataset.count method

dataset = api.get_dataset('us30')
data_count = ds.count(
    start_date='2018-01-05 18:00:00',
    end_date='2018-01-05 18:01:00',
)
# {'count': 11, 'stories': 10, 'entities': 6}