with Google Cloud and Piloterr?
Fetches specified data for a company using a domain name. See the documentation
Obtains HTML from a given website through web scraping for high performance access and interpretation. See the documentation
Retrieves the core technology used on a designated website. (CMS, Framework, Analytics, CDN, Hosting, etc.) See the documentation
Inserts rows into a BigQuery table. See the docs and for an example here
The Google Cloud API opens a world of possibilities for enhancing cloud operations and automating tasks. It empowers you to manage, scale, and fine-tune various services within the Google Cloud Platform (GCP) programmatically. With Pipedream, you can harness this power to create intricate workflows, trigger cloud functions based on events from other apps, manage resources, and analyze data, all in a serverless environment. The ability to interconnect GCP services with numerous other apps enriches automation, making it easier to synchronize data, streamline development workflows, and deploy applications efficiently.
module.exports = defineComponent({
props: {
google_cloud: {
type: "app",
app: "google_cloud",
}
},
async run({steps, $}) {
// Required workaround to get the @google-cloud/storage package
// working correctly on Pipedream
require("@dylburger/umask")()
const { Storage } = require('@google-cloud/storage')
const key = JSON.parse(this.google_cloud.$auth.key_json)
const storage = new Storage({
projectId: key.project_id,
credentials: {
client_email: key.client_email,
private_key: key.private_key,
}
})
await storage.authClient.getCredentials()
return {
status: "success",
authenticated: true,
projectId: key.project_id,
serviceAccount: key.client_email
}
},
})
Piloterr API allows you to integrate and automate various aspects of project management and team collaboration. Within Pipedream's serverless platform, you can leverage this API to create custom workflows, connecting Piloterr's capabilities with other apps to streamline operations, trigger actions based on project updates, and synchronize data across different tools.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
piloterr: {
type: "app",
app: "piloterr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://piloterr.com/api/usage`,
headers: {
"x-api-key": `${this.piloterr.$auth.api_key}`,
},
})
},
})