DNSFilter

DNS layer threat protection for IT Professionals and Managed Service Providers driven by machine learning.

Integrate the DNSFilter API with the Python API

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

Run Python Code with Python API on New Policy Created from DNSFilter API
DNSFilter + Python
 
Try it
Run Python Code with Python API on New Threat Received from DNSFilter API
DNSFilter + Python
 
Try it
New Policy Created from the DNSFilter API

Emit new event when a new policy is created. See the documentation

 
Try it
New Threat Received from the DNSFilter API

Emit new event when a user's DNS query is blocked by a policy. See the documentation

 
Try it
Assign Policy to Site with the DNSFilter API

Assigns a pre-existing policy to a specific site within your DNSFilter account. 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
Block Category From Policy with the DNSFilter API

Blocks a selected category from a policy applied to your DNSFilter account's sites or roaming clients. See the documentation

 
Try it

Overview of DNSFilter

The DNSFilter API enables you to automate interactions with your DNSFilter account, offering capabilities like managing filtered domains, accessing reports, updating settings, and more. Within Pipedream, you can wield this API for seamless and serverless integrations, crafting workflows that trigger on specified conditions, process DNSFilter data, and interact with other apps and services, all without managing infrastructure.

Connect DNSFilter

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    dnsfilter: {
      type: "app",
      app: "dnsfilter",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.dnsfilter.com/v1/users`,
      headers: {
        "Authorization": `Token ${this.dnsfilter.$auth.oauth_access_token}`,
      },
    })
  },
})

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}}