{"id":19854658,"url":"https://github.com/obytes/tap-python","last_synced_at":"2025-07-28T16:04:27.700Z","repository":{"id":77139309,"uuid":"158121845","full_name":"obytes/tap-python","owner":"obytes","description":"Python library for the Tap API. https://api.tap.company","archived":false,"fork":false,"pushed_at":"2019-07-03T15:55:05.000Z","size":266,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-04-03T11:38:09.457Z","etag":null,"topics":[],"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/obytes.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-18T20:01:43.000Z","updated_at":"2024-05-25T13:21:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba29874b-3392-4916-9f3e-4f63ee426419","html_url":"https://github.com/obytes/tap-python","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/obytes/tap-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obytes%2Ftap-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obytes%2Ftap-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obytes%2Ftap-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obytes%2Ftap-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/obytes","download_url":"https://codeload.github.com/obytes/tap-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obytes%2Ftap-python/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267543261,"owners_count":24104536,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-12T14:10:03.670Z","updated_at":"2025-07-28T16:04:27.654Z","avatar_url":"https://github.com/obytes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tap Python Library\n\nThe Tap Python library provides convenient access to the Tap API from\napplications written in the Python language. It includes a pre-defined set of\nclasses for API resources that initialize themselves dynamically from API\nresponses which makes it compatible with a wide range of versions of the Tap\nAPI.\n\ninspired from https://github.com/stripe/stripe-python\n\n## Usage\n\nThe library needs to be configured with your account's secret key which is\navailable in your Tap Dashboard. Set `tap.api_key` to its\nvalue:\n\n``` python\n\u003e\u003e\u003e import tap\n\u003e\u003e\u003e\n\u003e\u003e\u003e # tap.api_key = os.environ.get('TAP_SECRET_KEY')\n\u003e\u003e\u003e tap.api_key = 'sk_test_YOUR_KEY'\n\u003e\u003e\u003e\n\u003e\u003e\u003e resp = tap.Customer.create(\n...     first_name='first name',\n...     last_name='last name',\n...     email='customer@gmail.com',\n...     currency='usd',\n...     nationality='Moroccan'\n... )\n\u003e\u003e\u003e\n\u003e\u003e\u003e print('Success: %r' % (resp))\nSuccess: \u003cCustomer customer id=cus_k9RY2018525q5LP1962511 at 0x7f2a495e5990\u003e JSON: {\n  \"created\": \"1542605100879\",\n  \"currency\": \"usd\",\n  \"email\": \"customer@gmail.com\",\n  \"first_name\": \"first name\",\n  \"id\": \"cus_k9RY2018525q5LP1962511\",\n  \"last_name\": \"last name\",\n  \"live_mode\": false,\n  \"nationality\": \"Moroccan\",\n  \"object\": \"customer\",\n  \"tap_account\": null,\n  \"tap_version\": null\n}\n```\n\n\nBattle tested in\n\n\u003cimg src=\"https://www.barmej.com/press/logo.png\" alt=\"barmej\" width=\"200\"/\u003e\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobytes%2Ftap-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobytes%2Ftap-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobytes%2Ftap-python/lists"}