lokalise / node-lokalise-api

Lokalise API v2 Node.js client.

Home Page:https://lokalise.github.io/node-lokalise-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature to allow download files from a specific branch of Branches Beta

iagormoraes opened this issue · comments

The new beta Branches is an amazing way to tidy the translations, it would be fantastic if lokaliseApi.files.download accept as second argument on the property of DownloadFileParams a branch to download it.

I'm pretty sure it should work if you just specify branch with the project id, like 3002780358964f9bab5a92.87762498:feature/new-release. If that does not work, please let me know!

I'm pretty sure it should work if you just specify branch with the project id, like 3002780358964f9bab5a92.87762498:feature/new-release. If that does not work, please let me know!

@bodrovis it worked like a charm! Thank you!

Oh, great. I will update README to include this info. Cheers!