Cutt.ly

Free URL Shortener & Link Management Platform with Custom URL Shortener and branded short links, Link-in-bio and QR Codes generator.

Integrate the Cutt.ly API with the Python API

Setup the Cutt.ly API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate Cutt.ly and Python remarkably fast. Free for developers.

Run Python Code with Python API on New Click from Cutt.ly API
Cutt.ly + Python
 
Try it
New Click from the Cutt.ly API

Emit new event each time a shortened URL receives a new click.

 
Try it
Get URL Analytics with the Cutt.ly API

Retrieves statistical information about a shortened url. See the documentation

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
Shorten URL with the Cutt.ly API

Returns a shortened URL when given a target URL as a prop. See the documentation

 
Try it
Update Source URL with the Cutt.ly API

Changes the source URL of a previously shortened URL. Requires a Paid Subscription. See the documentation

 
Try it

Overview of Cutt.ly

The Cutt.ly API allows users to shorten URLs, track their performance, and manage link settings. With Pipedream, you can automate these tasks and create workflows that respond to various triggers, like new form submissions, emails, or scheduled timers. Utilize Pipedream's capabilities to connect Cutt.ly with other apps, store and analyze click data, and streamline digital marketing processes.

Connect Cutt.ly

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    cutt_ly: {
      type: "app",
      app: "cutt_ly",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://cutt.ly/api/api.php`,
      params: {
        key: `${this.cutt_ly.$auth.api_key}`,
        short: `https://pipedream.com/`,
      },
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}