Tags

class py_veeqo.endpoints.tags.Tags(api_key: str | None = None)

Bases: PyVeeqo

This class implements all the tags api calls.

create_a_tag(data: Dict = None, json: Dict[str, Any] | List[Any] | str | int | float | bool | None = None) Result

Create a new tag. https://developers.veeqo.com/docs#/reference/tags/tag-collection/create-a-new-tag

Parameters:
  • data (Dict) – The data to be sent in the request body.

  • json (Optional[JSONType]) – The data to be sent in the request body.

delete_tag(tag_id: int) Result

Delete a specific tag. https://developers.veeqo.com/docs#/reference/tags/tag/delete

Parameters:

tag_id (int) – The id of the tag.

get_all_tags() Result

Get a list of all tags. https://developers.veeqo.com/docs#/reference/tags/tag-collection/list-all-tags

view_tag_detail(tag_id: int) Result

Get details of a specific tag. https://developers.veeqo.com/docs#/reference/tags/tag/view-an-tag-detail

Parameters:

tag_id (int) – The id of the tag.