# Recipes

Step-by-step examples in Shell and Python.

- [Import a file (API V2)](https://developers.lingohub.com/recipes/import-a-file-api-v2.md): Upload a resource file to a project, wait for the import job and check the result of every file.
- [Export translations (API V2)](https://developers.lingohub.com/recipes/export-translations-api-v2.md): Request an export of a branch, wait for the job and download the file.
- [Update a translation safely (API V2)](https://developers.lingohub.com/recipes/update-a-translation-safely-api-v2.md): Find a key, read its segment with the German text and the ETag, and change the text only if nobody changed the segment in the meantime.
- [List with filters and cursors (API V2)](https://developers.lingohub.com/recipes/list-with-filters-and-cursors-api-v2.md): Select items with a filter, sort them, and read every page of a list.
- [Export translations (API V1)](https://developers.lingohub.com/recipes/exports.md): Request an export of a project, wait until it has finished and download the ZIP file.
