Module crowdin_api.api_resources.custom_placeholders.resource
Classes
class CustomPlaceholdersResource (requester: APIRequester, project_id: Optional[int] = None, page_size=25)-
Resource for Custom Placeholders.
Custom placeholders of the organization. Assign them to a project with Add Project Placeholder.
Crowdin Enterprise only.
Link to documentation: https://support.crowdin.com/developer/enterprise/api/v2/#tag/Custom-Placeholders
Ancestors
Methods
def add_custom_placeholder(self, definition: str, description: Optional[str] = None, argumentDelimiter: Optional[str] = None)-
Add Custom Placeholder.
Link to documentation: https://support.crowdin.com/developer/enterprise/api/v2/#operation/api.custom-placeholders.post
def delete_custom_placeholder(self, customPlaceholderId: int)-
Delete Custom Placeholder.
Link to documentation: https://support.crowdin.com/developer/enterprise/api/v2/#operation/api.custom-placeholders.delete
def edit_custom_placeholder(self, customPlaceholderId: int, data: Iterable[CustomPlaceholderPatchRequest])-
Edit Custom Placeholder.
Link to documentation: https://support.crowdin.com/developer/enterprise/api/v2/#operation/api.custom-placeholders.patch
def get_custom_placeholder(self, customPlaceholderId: int)-
Get Custom Placeholder.
Link to documentation: https://support.crowdin.com/developer/enterprise/api/v2/#operation/api.custom-placeholders.get
def get_custom_placeholders_path(self, customPlaceholderId: Optional[int] = None)def list_custom_placeholders(self, limit: Optional[int] = None, offset: Optional[int] = None)-
List Custom Placeholders.
Link to documentation: https://support.crowdin.com/developer/enterprise/api/v2/#operation/api.custom-placeholders.getMany