{"id":19640190,"url":"https://github.com/gearplug/capsulecrm-python","last_synced_at":"2025-04-28T11:31:04.402Z","repository":{"id":62560844,"uuid":"108913637","full_name":"GearPlug/capsulecrm-python","owner":"GearPlug","description":"Capsule CRM API wrapper written in python.","archived":false,"fork":false,"pushed_at":"2023-03-28T13:54:08.000Z","size":37,"stargazers_count":6,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-05T08:25:54.677Z","etag":null,"topics":["api","api-wrapper","capsule","capsulecrm","python","wrapper"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GearPlug.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-30T22:05:57.000Z","updated_at":"2023-01-11T12:45:37.000Z","dependencies_parsed_at":"2023-01-23T17:16:20.032Z","dependency_job_id":null,"html_url":"https://github.com/GearPlug/capsulecrm-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fcapsulecrm-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fcapsulecrm-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fcapsulecrm-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GearPlug%2Fcapsulecrm-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GearPlug","download_url":"https://codeload.github.com/GearPlug/capsulecrm-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251304792,"owners_count":21567939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-wrapper","capsule","capsulecrm","python","wrapper"],"created_at":"2024-11-11T14:04:57.690Z","updated_at":"2025-04-28T11:31:04.086Z","avatar_url":"https://github.com/GearPlug.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# capsulecrm-python\nCapsule CRM API wrapper written in python.\n\n## Installing\n```\npip install capsulecrm-python\n```\n\n## Requirements\n- requests\n\n## Usage\n```\nfrom capsulecrm.client import Client\nclient = Client(client_id, client_secret)\n```\n\n### Advanced filtering for parties, organisations and projects\n```\n# Example:\norder_by= [{\"field\": \"addedOn\", \"direction\":\"descending\"}]\nconditions= [{\"field\":\"email\", \"operator\": \"is\", \"value\": \"juan@mail.com\"}]\nparties = client.filter_order_data('parties',conditions=conditions, order_by=order_by, page=1, per_page=1)\n```\n\n### Create Person or Organisation\n```\nclient.create_person('embed')\nclient.create_organisation('embed')\n```\n\n### List Parties\n```\nclient.list_parties('since, page, perpage, embed')\n```\n\n### Create and list Milestone\n```\nclient.create_milestone('name, description, probability, complete')\nclient.list_milestone('page, perpage')\n```\n\n### Create and List Opportunities\n```\nclient.create_oppotunity('embed')\nclient.list_opportunities('since, page, perpage, embed')\n```\n\n### Create and list tasks\n```\nclient.create_task('embed')\nclient.list_tasks('since, page, perpage, embed')\n```\n\n### Create and list tags\n```\nclient.create_tag('entity, name, description, datatag')\nclient.list_tag('entity, page, perpage')\n```\n\n### List projects, users, countries, currencies and categories\n```\nclient.list_projects('since, page, perpage, embed')\nclient.list_users()\nclient.list_countries()\nclient.list_currencies()\nclient.list_categories()\n```\n\n### Get custom Fields by entity (parties, organisations or projects):\n```\nclient.get_custom_fields('entity, page, perpage')\n```\n## TODO\n- show_party\n- show_multiple_parties\n- update_party\n- delete_party\n- list_deleted_parties\n- list_opportunities_by_party\n- show_opportunity\n- show_multiple_opportunities\n- update_opportunity\n- delete_opportunity\n- list_deleted_opportunities\n- list_additional_parties\n- add_additional_party\n- remove_additional_party\n- delete tag\n- show_tag\n- update_tag\n- delete_milestone\n- show_milestone\n- update_milestone\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgearplug%2Fcapsulecrm-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgearplug%2Fcapsulecrm-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgearplug%2Fcapsulecrm-python/lists"}