Releases: rfcx/rfcx-sdk-python
Releases · rfcx/rfcx-sdk-python
0.0.9
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
New functionality:
- Moved audio and data processing features to
rfcx-utils
(maintainingrfcx
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
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
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/