If you are utilizing continious project delivery and using tools like Jenkins, use the Lokalise command-line tool.
In order to run the Lokalise CLI from Jenkins, you will need to setup the Execute shell task, here is an example:
$ lokalise2 \
--token <token> \
--project-id <project_id> \
file download \
--format json \
--unzip-to "myapp/locale"