Pipefy(self, token, mock_server=False)
Integration class with Pipefy rest api.
Pipefy.pipe(self, id, response_fields=None, headers={})
Show pipe: Get a pipe by its identifier.
Pipefy.pipes(self, ids=[], response_fields=None, headers={})
List pipes: Get pipes by their identifiers.
Pipefy.createPipe(self, organization_id, name, labels=[], members=[], phases=[], start_form_fields=[], preferences={}, response_fields=None, headers={})
Create pipe: Mutation to create a pipe, in case of success a query is returned.
Pipefy.updatePipeRelation(self, id, name, allChildrenMustBeDoneToFinishParent, childMustExistToMoveParent, childMustExistToFinishParent, allChildrenMustBeDoneToMoveParent, canCreateNewItems, canConnectExistingItems, canConnectMultipleItems, response_fields=None, headers={})
Update pipe relation: Mutation to update a pipe relation, in case of success a query is returned.
Pipefy.updatePipe(self, id, icon=None, title_field_id=None, public=None, public_form=None, only_assignees_can_edit_cards=None, anyone_can_create_card=None, expiration_time_by_unit=None, expiration_unit=None, response_fields=None, headers={})
Update pipe: Mutation to update a pipe, in case of success a query is returned.
Pipefy.clonePipes(self, organization_id, pipe_template_ids=[], response_fields=None, headers={})
Clone pipe: Mutation to clone a pipe, in case of success a query is returned.
Pipefy.pipe_relations(self, ids, response_fields=None, headers={})
Show pipe relations: Get pipe relations by their identifiers.
Pipefy.createPipeRelation(self, parentId, childId, name, allChildrenMustBeDoneToFinishParent, childMustExistToMoveParent, childMustExistToFinishParent, allChildrenMustBeDoneToMoveParent, canCreateNewItems, canConnectExistingItems, canConnectMultipleItems, response_fields=None, headers={})
Create pipe relation: Mutation to create a pipe relation between two pipes, in case of success a query is returned.
Pipefy.deletePipeRelation(self, id, response_fields=None, headers={})
Delete pipe relation: Mutation to delete a pipe relation, in case of success success: true is returned.
Pipefy.deletePipe(self, id, response_fields=None, headers={})
Delete pipe: Mutation to delete a pipe, in case of success success: true is returned.
Pipefy.createComment(self, card_id, text, response_fields=None, headers={})
Create comment: Mutation to create a comment, in case of success a query is returned.
Pipefy.updateComment(self, id, text, response_fields=None, headers={})
Update comment: Mutation to update a comment, in case of success a query is returned.
Pipefy.deleteComment(self, id, response_fields=None, headers={})
Delete comment: Mutation to delete a comment, in case of success success: true is returned.
Pipefy.phase(self, id, response_fields=None, headers={})
Show phase: Get a phase by its identifier.
Pipefy.createPhase(self, pipe_id, name, done, lateness_time, description, can_receive_card_directly_from_draft, response_fields=None, headers={})
Create phase: Mutation to create a phase, in case of success a query is returned.
Pipefy.createPhaseField(self, phase_id, type, label, options, description, required, editable, response_fields=None, headers={})
Create phase field: Mutation to create a phase field, in case of success a query is returned.
Pipefy.updatePhaseField(self, id, label, options, required, editable, response_fields=None, headers={})
Update phase field: Mutation to update a phase field, in case of success a query is returned.
Pipefy.updatePhase(self, id, name, done, description, can_receive_card_directly_from_draft, response_fields=None, headers={})
Update phase: Mutation to update a phase, in case of success a query is returned.
Pipefy.deletePhaseField(self, id, response_fields=None, headers={})
Delete phase field: Mutation to delete a phase field, in case of success success: true is returned.
Pipefy.deletePhase(self, id, response_fields=None, headers={})
Delete phase: Mutation to delete a phase of a pipe, in case of success success: true is returned.
Pipefy.createLabel(self, pipe_id, name, color, response_fields=None, headers={})
Create label: Mutation to create a label, in case of success a query is returned.
Pipefy.updateLabel(self, id, name, color, response_fields=None, headers={})
Update label: Mutation to update a label, in case of success a query is returned.
Pipefy.deleteLabel(self, id, response_fields=None, headers={})
Delete label: Mutation to delete a label, in case of success success: true is returned.
Pipefy.card(self, id, response_fields=None, headers={})
Show card: Get a card by its identifier.
Pipefy.cards(self, pipe_id, count=10, search={}, response_fields=None, headers={})
List cards: Get cards by pipe identifier.
Pipefy.allCards(self, pipe_id, filter="", response_fields=None, headers={})
List cards: Get all cards by pipe identifier and specific filters (any field and operators).
Example of use:
pipefy.allCards("821643", filter='{field: "updated_at", operator: gt, value: 2018-08-01T23:50:11-03:00}')
Pipefy.createCard(self, pipe_id, fields_attributes, parent_ids=[], response_fields=None, headers={})
Create card: Mutation to create a card, in case of success a query is returned.
Pipefy.updateCard(self, id, title=None, due_date=None, assignee_ids=[], label_ids=[], response_fields=None, headers={})
Update card: Mutation to update a card, in case of success a query is returned.
Pipefy.updateCardField(self, card_id, field_id, new_value, response_fields=None, headers={})
Update card field: Mutation to update a card field, in case of success a query is returned.
Pipefy.moveCardToPhase(self, card_id, destination_phase_id, response_fields=None, headers={})
Move card to phase: Mutation to move a card to a phase, in case of success a query is returned.
Pipefy.deleteCard(self, id, response_fields=None, headers={})
Delete card: Mutation to delete a card, in case of success success: true is returned.
Pipefy.setRole(self, pipe_id, member, response_fields=None, headers={})
Set role: Mutation to set a user's role, in case of success a query is returned.
Pipefy.deleteTableRecord(self, id, response_fields=None, headers={})
Delete table record: Mutation to delete a table record, in case of success a query with the field success is returned.
Pipefy.updateTable(self, id, name, description, public, authorization, icon, create_record_button_label, title_field_id, public_form, summary_attributes, response_fields=None, headers={})
Update table: Mutation to update a table, in case of success a query is returned.
Pipefy.createTable(self, organization_id, name, description, public, authorization, response_fields=None, headers={})
Create table: Mutation to create a table, in case of success a query is returned.
Pipefy.deleteTable(self, id, response_fields=None, headers={})
Delete table: Mutation to delete a table, in case of success a query with the field success is returned.
Pipefy.updateTableRecord(self, id, title, due_date, response_fields=None, headers={})
Update table record: Mutation to update a table record, in case of success a query is returned.
Pipefy.createTableField(self, table_id, type, label, options, description, help, required, minimal_view, custom_validation, response_fields=None, headers={})
Create table field: Mutation to create a table field, in case of success a query is returned.
Pipefy.table_records(self, table_id, first=10, response_fields=None, headers={})
List table records: Get table records with pagination through table id.
Pipefy.createTableRecord(self, table_id, title='', due_date=None, fields_attributes=[], response_fields=None, headers={})
Create table record: Mutation to create a table record, in case of success a query is returned.
Pipefy.table_record(self, id, response_fields=None, headers={})
Show table record: Get table record through table record id.
Pipefy.tables(self, ids, response_fields=None, headers={})
List tables: Get tables through table ids.
Pipefy.table(self, id, response_fields=None, headers={})
Show table: Get a table through table id.
Pipefy.deleteTableField(self, table_id, id, response_fields=None, headers={})
Delete table field: Mutation to delete a table field, in case of success a query with the field success is returned.
Pipefy.updateTableField(self, table_id, id, label, options, description, help, required, minimal_view, custom_validation, response_fields=None, headers={})
Update table field: Mutation to update a table field, in case of success a query is returned.
Pipefy.setTableRecordFieldValue(self, table_record_id, field_id, value, response_fields=None, headers={})
Set table record field value: Mutation to set a table record field value, in case of success a query with the field success is returned.
Pipefy.setTableFieldOrder(self, table_id, field_ids, response_fields=None, headers={})
Set table record field value Mutation to set a table field order, in case of success a query with the field success is returned.
To get access to your token access the Personal Tokens and generate one.
The pipe id is the number followed by the name of pipe in the URL when the pipe is open, for example, for this URL https://app.pipefy.com/pipes/12345
the id is 12345.
The method pipes
can send a list of pipe ids. The return is the list of phases and related attribues.
from pipefy import Pipefy
token = "your_token_here"
pipe_id = <pipe_id>
pipefy = Pipefy(token)
pipes = pipefy.pipes([pipe_id])
print(pipes)