Module crowdin_api.api_resources.bundles.resource

Classes

class BundlesResource (requester: APIRequester, project_id: Optional[int] = None, page_size=25)

Resource for Bundles.

Link to documentation: https://developer.crowdin.com/api/v2/#tag/Bundles

Link to documentation for enterprise: https://developer.crowdin.com/enterprise/api/v2/#tag/Bundles

Ancestors

Methods

def add_bundle(self, name: str, format: str, sourcePatterns: Iterable[str], exportPattern: str, projectId: Optional[int] = None, ignorePatterns: Optional[Iterable[str]] = None, isMultilingual: Optional[bool] = None, includeProjectSourceLanguage: Optional[bool] = None, labelIds: Optional[Iterable[int]] = None, excludeLabelIds: Optional[Iterable[int]] = None)
def check_bundle_export_status(self, bundleId: int, exportId: str, projectId: Optional[int] = None)
def delete_bundle(self, bundleId: int, projectId: Optional[int] = None)
def download_bundle(self, bundleId: int, exportId: str, projectId: Optional[int] = None)
def edit_bundle(self, bundleId: int, data: Iterable[BundlePatchRequest], projectId: Optional[int] = None)
def export_bundle(self, bundleId: int, projectId: Optional[int] = None)
def get_bundle(self, bundleId: int, projectId: Optional[int] = None)
def get_bundle_list_files(self, bundleId: int, projectId: Optional[int] = None, offset: Optional[int] = None, limit: Optional[int] = None)
def get_bundles_exports_path(self, projectId: int, bundleId: int, exportId: Optional[str] = None)
def get_bundles_path(self, projectId: int, bundleId: Optional[int] = None)
def list_bundles(self, projectId: Optional[int] = None, offset: Optional[int] = None, limit: Optional[int] = None)