Skip to main content

API wrapper for CapsuleCRM written in Python

Project description

capsulecrm-python

Capsule CRM API wrapper written in python.

Installing

pip install capsulecrm-python

Requirements

  • requests

Usage

from capsulecrm.client import Client
client = Client(client_id, client_secret)

Advanced filtering for parties, organisations and projects

# Example:
order_by= [{"field": "addedOn", "direction":"descending"}]
conditions= [{"field":"email", "operator": "is", "value": "juan@mail.com"}]
parties = client.filter_order_data('parties',conditions=conditions, order_by=order_by, page=1, per_page=1)

Create Person or Organisation

client.create_person('embed')
client.create_organisation('embed')

List Parties

client.list_parties('since, page, perpage, embed')

Create and list Milestone

client.create_milestone('name, description, probability, complete')
client.list_milestone('page, perpage')

Create and List Opportunities

client.create_oppotunity('embed')
client.list_opportunities('since, page, perpage, embed')

Create and list tasks

client.create_task('embed')
client.list_tasks('since, page, perpage, embed')

Create and list tags

client.create_tag('entity, name, description, datatag')
client.list_tag('entity, page, perpage')

List projects, users, countries, currencies and categories

client.list_projects('since, page, perpage, embed')
client.list_users()
client.list_countries()
client.list_currencies()
client.list_categories()

Get custom Fields by entity (parties, organisations or projects):

client.get_custom_fields('entity, page, perpage')

TODO

  • show_party
  • show_multiple_parties
  • update_party
  • delete_party
  • list_deleted_parties
  • list_opportunities_by_party
  • show_opportunity
  • show_multiple_opportunities
  • update_opportunity
  • delete_opportunity
  • list_deleted_opportunities
  • list_additional_parties
  • add_additional_party
  • remove_additional_party
  • delete tag
  • show_tag
  • update_tag
  • delete_milestone
  • show_milestone
  • update_milestone

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

capsulecrm_python-0.1.7.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

capsulecrm_python-0.1.7-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file capsulecrm_python-0.1.7.tar.gz.

File metadata

  • Download URL: capsulecrm_python-0.1.7.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for capsulecrm_python-0.1.7.tar.gz
Algorithm Hash digest
SHA256 e5bd0b0ee39cddcb553ad264668f94c161fa7f752cac9e4e88aec614d7d14205
MD5 9abdd26bc5cf5d205d5062093b80d65f
BLAKE2b-256 8af4f5d3cb52e155d959c776f9f48d7d9267902ac2e8e4d34ddea27257925a5e

See more details on using hashes here.

File details

Details for the file capsulecrm_python-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for capsulecrm_python-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 602f9cdd5e7d2de54255a6c4b98945dd2423f5c0e7562244c04a6b894db009a0
MD5 3a96c8a68bc4f8b8369507a02363a891
BLAKE2b-256 7a70b7e73fd6d2c1bffc887df1f2b145a3c49ff4e50f241d5cc1489d7494ade1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page