tap-bitly


Nametap-bitly JSON
Version 0.4.5 PyPI version JSON
download
home_pageNone
SummarySinger tap for Bitly, built with the Meltano SDK for Singer Taps.
upload_time2025-09-08 19:59:01
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords bitly elt singer.io
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">

# tap-bitly

<div>
  <a href="https://results.pre-commit.ci/latest/github/reservoir-data/tap-bitly/main">
    <img alt="pre-commit.ci status" src="https://results.pre-commit.ci/badge/github/reservoir-data/tap-bitly/main.svg"/>
  </a>
  <a href="https://github.com/reservoir-data/tap-bitly/blob/main/LICENSE">
    <img alt="License" src="https://img.shields.io/github/license/reservoir-data/tap-bitly"/>
  </a>
  <a href="https://github.com/astral-sh/ruff">
    <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json" alt="Ruff" style="max-width:100%;">
  </a>
  <a href="https://github.com/astral-sh/uv">
   <img alt="uv" src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json"/>
  </a>
</div>

Singer tap for [Bitly](https://bitly.com/). Built with the [Meltano Singer SDK](https://sdk.meltano.com).

</div>

## Capabilities

* `catalog`
* `state`
* `discover`
* `about`
* `stream-maps`
* `schema-flattening`

## Settings

| Setting              | Required | Default | Description                                                                                                                                 |
| :------------------- | :------: | :-----: | :------------------------------------------------------------------------------------------------------------------------------------------ |
| token                |   True   |  None   | API Token for Bitly                                                                                                                         |
| include_paid_streams |  False   |  False  | Whether to sync paid streams                                                                                                                |
| start_date           |  False   |  None   | Earliest datetime to get data from                                                                                                          |
| stream_maps          |  False   |  None   | Config object for stream maps capability. For more information check out [Stream Maps](https://sdk.meltano.com/en/latest/stream_maps.html). |
| stream_map_config    |  False   |  None   | User-defined config values to be used within map expressions.                                                                               |
| flattening_enabled   |  False   |  None   | 'True' to enable schema flattening and automatically expand nested properties.                                                              |
| flattening_max_depth |  False   |  None   | The max depth to flatten schemas.                                                                                                           |

## Supported Streams

| Stream Name              | Endpoint                                                                                           | Notes                 |
| :----------------------- | :------------------------------------------------------------------------------------------------- | :-------------------- |
| `groups`                 | [/v4/groups](https://dev.bitly.com/api-reference/#getGroups)                                       |                       |
| `bitlinks`               | [/v4/groups/{group_guid}/bitlinks](https://dev.bitly.com/api-reference/#getBitlinksByGroup)        |                       |
| `bsds`                   | [/v4/bsds](https://dev.bitly.com/api-reference/#getBSDs)                                           |                       |
| `campaigns`              | [/v4/campaigns](https://dev.bitly.com/api-reference/#getCampaigns)                                 |                       |
| `channels`               | [/v4/channels](https://dev.bitly.com/api-reference/#getChannels)                                   |                       |
| `organizations`          | [/v4/organizations](https://dev.bitly.com/api-reference/#getOrganizations)                         |                       |
| `webhooks`               | [/v4/organizations/{organization_guid}/webhooks](https://dev.bitly.com/api-reference/#getWebhooks) | Requires paid account |
| `daily_bitlink_clicks`   | [/v4/bitlinks/{bitlink}/clicks](https://dev.bitly.com/api-reference/#getClicksForBitlink)          |                       |
| `monthly_bitlink_clicks` | [/v4/bitlinks/{bitlink}/clicks](https://dev.bitly.com/api-reference/#getClicksForBitlink)          |                       |

A full list of supported settings and capabilities is available by running: `tap-bitly --about`

### Source Authentication and Authorization

Generate an access token from the [Bitly API Console](https://app.bitly.com/settings/api/).

## Usage

You can easily run `tap-bitly` by itself or in a pipeline using [Meltano](https://meltano.com/).

### Executing the Tap Directly

```bash
tap-bitly --version
tap-bitly --help
tap-bitly --config CONFIG --discover > ./catalog.json
```

## Developer Resources

### Initialize your Development Environment

```bash
uv tool install --with tox-uv tox
```

### Create and Run Tests

Run all tests:

```bash
tox run-parallel
```

### Testing with [Meltano](https://www.meltano.com)

_**Note:** This tap will work in any Singer environment and does not require Meltano.
Examples here are for convenience and to streamline end-to-end orchestration scenarios._

Your project comes with a custom `meltano.yml` project file already created. Go ahead and [install Meltano](https://docs.meltano.com/getting-started/installation/) if you haven't already.

1. Install all plugins

   ```bash
   meltano install
   ```

2. Check that the extractor is working properly

   ```bash
   meltano invoke tap-bitly --version
   ```

3. Execute an EL pipeline

   ```bash
   meltano run tap-bitly target-jsonl
   ```

### SDK Dev Guide

See the [dev guide](https://sdk.meltano.com/en/latest/dev_guide.html) for more instructions on how to use the SDK to
develop your own taps and targets.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "tap-bitly",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "Edgar Ramirez-Mondragon <edgarrm358@gmail.com>",
    "keywords": "Bitly, ELT, singer.io",
    "author": null,
    "author_email": "Edgar Ramirez-Mondragon <edgarrm358@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/00/54/2506f404dfae07900628dbd0d996188cfe9af9433cd026fef023bdcce76b/tap_bitly-0.4.5.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n\n# tap-bitly\n\n<div>\n  <a href=\"https://results.pre-commit.ci/latest/github/reservoir-data/tap-bitly/main\">\n    <img alt=\"pre-commit.ci status\" src=\"https://results.pre-commit.ci/badge/github/reservoir-data/tap-bitly/main.svg\"/>\n  </a>\n  <a href=\"https://github.com/reservoir-data/tap-bitly/blob/main/LICENSE\">\n    <img alt=\"License\" src=\"https://img.shields.io/github/license/reservoir-data/tap-bitly\"/>\n  </a>\n  <a href=\"https://github.com/astral-sh/ruff\">\n    <img src=\"https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json\" alt=\"Ruff\" style=\"max-width:100%;\">\n  </a>\n  <a href=\"https://github.com/astral-sh/uv\">\n   <img alt=\"uv\" src=\"https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json\"/>\n  </a>\n</div>\n\nSinger tap for [Bitly](https://bitly.com/). Built with the [Meltano Singer SDK](https://sdk.meltano.com).\n\n</div>\n\n## Capabilities\n\n* `catalog`\n* `state`\n* `discover`\n* `about`\n* `stream-maps`\n* `schema-flattening`\n\n## Settings\n\n| Setting              | Required | Default | Description                                                                                                                                 |\n| :------------------- | :------: | :-----: | :------------------------------------------------------------------------------------------------------------------------------------------ |\n| token                |   True   |  None   | API Token for Bitly                                                                                                                         |\n| include_paid_streams |  False   |  False  | Whether to sync paid streams                                                                                                                |\n| start_date           |  False   |  None   | Earliest datetime to get data from                                                                                                          |\n| stream_maps          |  False   |  None   | Config object for stream maps capability. For more information check out [Stream Maps](https://sdk.meltano.com/en/latest/stream_maps.html). |\n| stream_map_config    |  False   |  None   | User-defined config values to be used within map expressions.                                                                               |\n| flattening_enabled   |  False   |  None   | 'True' to enable schema flattening and automatically expand nested properties.                                                              |\n| flattening_max_depth |  False   |  None   | The max depth to flatten schemas.                                                                                                           |\n\n## Supported Streams\n\n| Stream Name              | Endpoint                                                                                           | Notes                 |\n| :----------------------- | :------------------------------------------------------------------------------------------------- | :-------------------- |\n| `groups`                 | [/v4/groups](https://dev.bitly.com/api-reference/#getGroups)                                       |                       |\n| `bitlinks`               | [/v4/groups/{group_guid}/bitlinks](https://dev.bitly.com/api-reference/#getBitlinksByGroup)        |                       |\n| `bsds`                   | [/v4/bsds](https://dev.bitly.com/api-reference/#getBSDs)                                           |                       |\n| `campaigns`              | [/v4/campaigns](https://dev.bitly.com/api-reference/#getCampaigns)                                 |                       |\n| `channels`               | [/v4/channels](https://dev.bitly.com/api-reference/#getChannels)                                   |                       |\n| `organizations`          | [/v4/organizations](https://dev.bitly.com/api-reference/#getOrganizations)                         |                       |\n| `webhooks`               | [/v4/organizations/{organization_guid}/webhooks](https://dev.bitly.com/api-reference/#getWebhooks) | Requires paid account |\n| `daily_bitlink_clicks`   | [/v4/bitlinks/{bitlink}/clicks](https://dev.bitly.com/api-reference/#getClicksForBitlink)          |                       |\n| `monthly_bitlink_clicks` | [/v4/bitlinks/{bitlink}/clicks](https://dev.bitly.com/api-reference/#getClicksForBitlink)          |                       |\n\nA full list of supported settings and capabilities is available by running: `tap-bitly --about`\n\n### Source Authentication and Authorization\n\nGenerate an access token from the [Bitly API Console](https://app.bitly.com/settings/api/).\n\n## Usage\n\nYou can easily run `tap-bitly` by itself or in a pipeline using [Meltano](https://meltano.com/).\n\n### Executing the Tap Directly\n\n```bash\ntap-bitly --version\ntap-bitly --help\ntap-bitly --config CONFIG --discover > ./catalog.json\n```\n\n## Developer Resources\n\n### Initialize your Development Environment\n\n```bash\nuv tool install --with tox-uv tox\n```\n\n### Create and Run Tests\n\nRun all tests:\n\n```bash\ntox run-parallel\n```\n\n### Testing with [Meltano](https://www.meltano.com)\n\n_**Note:** This tap will work in any Singer environment and does not require Meltano.\nExamples here are for convenience and to streamline end-to-end orchestration scenarios._\n\nYour project comes with a custom `meltano.yml` project file already created. Go ahead and [install Meltano](https://docs.meltano.com/getting-started/installation/) if you haven't already.\n\n1. Install all plugins\n\n   ```bash\n   meltano install\n   ```\n\n2. Check that the extractor is working properly\n\n   ```bash\n   meltano invoke tap-bitly --version\n   ```\n\n3. Execute an EL pipeline\n\n   ```bash\n   meltano run tap-bitly target-jsonl\n   ```\n\n### SDK Dev Guide\n\nSee the [dev guide](https://sdk.meltano.com/en/latest/dev_guide.html) for more instructions on how to use the SDK to\ndevelop your own taps and targets.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Singer tap for Bitly, built with the Meltano SDK for Singer Taps.",
    "version": "0.4.5",
    "project_urls": {
        "Documentation": "https://github.com/reservoir-data/tap-bitly#readme",
        "Homepage": "https://github.com/reservoir-data/tap-bitly",
        "Repository": "https://github.com/reservoir-data/tap-bitly"
    },
    "split_keywords": [
        "bitly",
        " elt",
        " singer.io"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b82ab8e41ef4981087390cd38468fefe8dd1ba545e525e3d259177a28ab76bc8",
                "md5": "2b944b8840e974f282dce2055ff2a31a",
                "sha256": "485005033fe9c6939db597d128b7f73d3df96d57e553e95faeab383610f59851"
            },
            "downloads": -1,
            "filename": "tap_bitly-0.4.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2b944b8840e974f282dce2055ff2a31a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 11158,
            "upload_time": "2025-09-08T19:58:58",
            "upload_time_iso_8601": "2025-09-08T19:58:58.934928Z",
            "url": "https://files.pythonhosted.org/packages/b8/2a/b8e41ef4981087390cd38468fefe8dd1ba545e525e3d259177a28ab76bc8/tap_bitly-0.4.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "00542506f404dfae07900628dbd0d996188cfe9af9433cd026fef023bdcce76b",
                "md5": "129f98e90f3bd4c19b626f5577955fc7",
                "sha256": "e5aeb3c34ab3a799eccf29da421d9b18312a41e53d6f4c0014da47c95d5050a3"
            },
            "downloads": -1,
            "filename": "tap_bitly-0.4.5.tar.gz",
            "has_sig": false,
            "md5_digest": "129f98e90f3bd4c19b626f5577955fc7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 70701,
            "upload_time": "2025-09-08T19:59:01",
            "upload_time_iso_8601": "2025-09-08T19:59:01.003079Z",
            "url": "https://files.pythonhosted.org/packages/00/54/2506f404dfae07900628dbd0d996188cfe9af9433cd026fef023bdcce76b/tap_bitly-0.4.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-08 19:59:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "reservoir-data",
    "github_project": "tap-bitly#readme",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "tap-bitly"
}
        
Elapsed time: 1.26882s