with ScrapingAnt and MoonClerk?
Send a request using the standard extraction method of ScrapingAnt. See the documentation
The ScrapingAnt API allows you to scrape web pages without getting blocked. It can handle JavaScript rendering, cookies, sessions, and can even interact with web pages as if a real person were browsing. Using Pipedream, you can integrate ScrapingAnt with countless other apps to automate data extraction and feed this data into various business processes, analytics tools, or databases.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    scrapingant: {
      type: "app",
      app: "scrapingant",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.scrapingant.com/v2/general`,
      headers: {
        "x-api-key": `${this.scrapingant.$auth.api_token}`,
      },
      params: {
        url: `pipedream.com`,
      },
    })
  },
})
The MoonClerk API offers a streamlined way to manage and automate payments and billing processes directly within your applications. With Pipedream, you can harness this API to create custom workflows that trigger actions based on payment events, update customer subscriptions, sync with accounting software, and more. It's a powerful tool for businesses looking to automate their financial operations and integrate their payment system with other digital tools.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    moonclerk: {
      type: "app",
      app: "moonclerk",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.moonclerk.com/customers`,
      headers: {
        "Authorization": `Token token=${this.moonclerk.$auth.api_key}`,
        "Accept": `application/vnd.moonclerk+json;version=1`,
      },
    })
  },
})