Changelog

1.7.0 (30-Nov-2022)

response = client.jwt()
response.jwt # => "eyJ0eXAiOiJK..."

1.6.0 (05-Oct-2022)

  • Added file_id attribute to File model:
files = client.files(project_id)
files.items[0].file_id # => 839819

1.5.0 (07-Jul-2022)

response = client.delete_file(project_id, file_id)
response['file_deleted'] # => True

1.4.0 (07-Mar-2022)

auth_client = lokalise.Auth('client id', 'client secret')
url = auth_client.auth(["read_projects", "write_team_groups"])
token_data = auth_client.token('auth code')
refreshed_token_data = auth_client.refresh('refresh token')
  • Do not test with Python 3.6 anymore (EOL)

1.3.0 (17-Dec-2021)

1.2.0 (27-Oct-21)

  • Add ability to use OAuth 2 tokens instead of API tokens obtained from Lokalise profile.
client = lokalise.OAuthClient('YOUR_OAUTH2_API_TOKEN')

project = client.project('123.abc')

1.1.1 (21-Sep-21)

  • Fixed an issue with exception handling when the returned response doesn’t contain an error key
  • Update dependencies

1.1.0 (15-Jul-21)

  • Added support for gzip compression. It’s off by default but you can enable it by setting the enable_compression option to True:
client = lokalise.Client('token', connect_timeout=5, read_timeout=7, enable_compression=True)

1.0.0 (29-Apr-21)

  • The plugin is being actively used for nearly a year, the code is fully reviewed therefore we now consider it to be stable and the first 1.x version is now live. No breaking changes were introduced in this release.

0.4.0 (28-Apr-21)

  • Add task_id attribute to Translation

0.3.0 (01-Mar-21)

  • Add payment_method attribute to Order

0.2.0 (02-Feb-21)

  • Add auto_close_items attribute for Task
  • Update all dependencies

0.1.1 (22-Dec-20)

  • Update all dependencies
  • Test against Python 3.9

0.1.0 (30-Jun-20)

  • Initial release