{"id":20544847,"url":"https://github.com/alexanderad/python-callfire","last_synced_at":"2026-03-12T05:33:06.407Z","repository":{"id":57456788,"uuid":"64746143","full_name":"alexanderad/python-callfire","owner":"alexanderad","description":"Thin CallFire API wrapper.","archived":false,"fork":false,"pushed_at":"2017-02-13T10:20:03.000Z","size":41,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-02T01:04:18.374Z","etag":null,"topics":["api-wrapper","library"],"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/alexanderad.png","metadata":{"files":{"readme":"README.rst","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":"2016-08-02T10:03:10.000Z","updated_at":"2017-02-13T10:13:20.000Z","dependencies_parsed_at":"2022-09-05T20:50:45.157Z","dependency_job_id":null,"html_url":"https://github.com/alexanderad/python-callfire","commit_stats":null,"previous_names":["imedicare/python-callfire"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexanderad%2Fpython-callfire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexanderad%2Fpython-callfire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexanderad%2Fpython-callfire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexanderad%2Fpython-callfire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexanderad","download_url":"https://codeload.github.com/alexanderad/python-callfire/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242150758,"owners_count":20080006,"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-wrapper","library"],"created_at":"2024-11-16T01:49:04.306Z","updated_at":"2025-12-14T19:21:27.224Z","avatar_url":"https://github.com/alexanderad.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"python-callfire\n===============\n.. image:: https://travis-ci.org/alexanderad/python-callfire.svg?branch=master\n    :target: https://travis-ci.org/alexanderad/python-callfire\n\n.. image:: https://img.shields.io/pypi/v/python-callfire.svg\n    :target: https://pypi.python.org/pypi/python-callfire\n\nThin wrapper in Python which implements CallFire v2 interface definitions based on Swagger specification.\n\nUsage\n-----\nPython method names follow `CallFire's API \u003chttps://developers.callfire.com/docs.html\u003e`_.\nWrapper does not introduce any additional complexity or conventions above those defined in original API,\nwhich makes usage pretty straightforward:\n\n.. code-block:: python\n\n    \u003e\u003e\u003e from callfire import CallFireAPI\n    \u003e\u003e\u003e api = CallFireAPI('\u003capi-app-username\u003e', '\u003capi-app-password\u003e')\n\n    \u003e\u003e\u003e api.get_account().json()\n    {\n        u'email': u'your-email@your-domain.com',\n        u'firstName': u'John',\n        u'id': 700321776,\n        u'lastName': u'Smith',\n        u'name': u'Metacortex',\n        u'permissions': [u'ACCOUNT_HOLDER']\n    }\n\n    \u003e\u003e\u003e text = dict(phoneNumber='13408887345', message='Hi!')\n    \u003e\u003e\u003e api.send_texts(body=[text]).json()\n    {\n        u'items': [{\n            u'batchId': 11428003374,\n            u'campaignId': 60000313259,\n            u'contact': {\n                u'id': 152100378045,\n                u'properties': {\n                    u'UNDEFINED': u'13471521003'\n                }\n            },\n            u'created': 1470222349000,\n            u'finalTextResult': u'SENT',\n            u'fromNumber': u'67076',\n            u'id': 1038052003407,\n            u'inbound': False,\n            u'message': u'Hi!',\n            u'modified': 1470222348000,\n            u'records': [{\n                u'billedAmount': 1.0,\n                u'finishTime': 1470222349000,\n                u'id': 579287900394,\n                u'message': u'Hi!',\n                u'textResult': u'SENT'\n            }],\n            u'state': u'FINISHED',\n            u'toNumber': u'13408887345'\n        }]\n    }\n\n    \u003e\u003e\u003e broadcast = dict(\n        fromNumber='13471521003',\n        labels=['via-api'],\n        name='Test voice broadcast'),\n        answeringMachineConfig='AM_AND_LIVE',\n        recipients=[dict(phoneNumber='(347) 1521003')],\n        sounds=dict(\n            liveSoundText='Voice message',\n            machineSoundText='Voice message'\n        )\n    )\n    \u003e\u003e\u003e api.create_call_broadcast(query=dict(start=True), body=broadcast).json()\n    {u'id': 13750937003}\n\n    \u003e\u003e\u003e api.get_call_broadcast(13750937003).json()\n    {\n        u'id': 13750937003,\n        ...\n        u'status': u'FINISHED'\n    }\n\n\nError Handling\n--------------\nWhenever low level exception occurs it is wrapped and re-raised as `CallFireError`,\nwhile original traceback preserved and displayed and original exception is also\navailable for inspection under `wrapped_exc` attribute.\n\nDocumentation\n-------------\nGenerated python methods do contain docstrings with described query and body params.\nOfficial API documentation is available at `developers.callfire.com \u003chttps://developers.callfire.com/docs.html\u003e`_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexanderad%2Fpython-callfire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexanderad%2Fpython-callfire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexanderad%2Fpython-callfire/lists"}