Skip to content

Releases: rfcx/rfcx-sdk-python

0.0.9

22 Sep 12:25
f2e5f27
Compare
Choose a tag to compare

New functionality:

  • Parallel download audio from RFCx database
    Example: client.downloadGuardianAudio(dest_path='audios', guardian_id='8d5d6dc3b0eb', min_date=2020-08-15, max_date=2020-08-30, file_ext='opus', parallel=True)

Bug fixes:

  • Handle an http request error when server return error status

Documentation: https://rfcx.github.io/rfcx-sdk-python/

0.0.7

30 Mar 09:54
Compare
Choose a tag to compare

New functionality:

  • Moved audio and data processing features to rfcx-utils (maintaining rfcx as the core with fewer dependencies)

Bug fixes:

  • Solved client.guardians() failing due to invalid token -- user will need to delete their .rfcx_credentials file and authenticate again.

Documentation: https://rfcx.github.io/rfcx-sdk-python/

0.0.6

15 Feb 16:03
Compare
Choose a tag to compare

New functionality:

  • Access token is refreshed if it is near expiration.
  • Load an existing token from another path: client.persisted_credentials_path = '/my/path/.rfcx_credentials'

Bug fixes:

  • client.guardians() previously only returned a maximum of 20 items (now returns all).
  • Authentication now works with user accounts that have no accessible site information (e.g. RFCx admins)
  • Removed unnecessary output from API calls

Documentation: https://rfcx.github.io/rfcx-sdk-python/

0.0.5

13 Jan 02:05
Compare
Choose a tag to compare

New functionality:

  • Credentials persisted to disk by default and loaded automatically when authenticating with client.authenticate()
  • Get a list of guardians (for a given site or for your accessible sites)
    Example: client.guardians(sites=['derc'])
  • Get a list of audio files (for a given guardian and time period)
    Example: client.guardianAudio('f49300264d7d', start='2020-01-01T00:00:00.000Z', limit=5, descending=False)

Bug fixes:

  • Tags endpoint returns correct labels

Documentation: https://rfcx.github.io/rfcx-sdk-python/