Jotform enables you to create online forms, collect responses directly in your email, and create fillable PDF forms.
Provides raw data coverage information grouped by cities. See the docs and here.
Gets number of form submissions received this month. Also, get number of SSL form submissions, payment form submissions and upload space used by user See the docs here
Jotform’s API is a powerhouse for automating form and survey data management. With Pipedream, harness this API to trigger workflows from new form submissions, manipulate and analyze your form data, and sync it across various platforms. Think streamlined data entry to CRMs, instant notifications for new leads or feedback, and timely data backups to cloud storage.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jotform: {
type: "app",
app: "jotform",
}
},
methods: {
_getBaseUrl() {
let baseUrl = `https://${this.jotform.$auth.region}.jotform.com/`;
const standardSubdomains = [
"api",
"eu-api",
"hipaa-api",
];
if (!standardSubdomains.includes(this.jotform.$auth.region)) {
baseUrl += "API/";
}
return baseUrl;
},
},
async run({steps, $}) {
const baseUrl = this._getBaseUrl();
return await axios($, {
url: `${baseUrl}user`,
params: {
apiKey: `${this.jotform.$auth.api_key}`,
},
})
},
})
The CrimeoMeter API provides detailed crime data, allowing users to access crime statistics and safety information across various locations. Utilize this API within Pipedream to integrate real-time crime data into apps, send alerts, or enhance analytics. Pipedream makes it simple to set up event-driven workflows that react to CrimeoMeter's data, enabling both individual users and organizations to act upon crime insights swiftly and automate their safety processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
crimeometer: {
type: "app",
app: "crimeometer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.crimeometer.com/v1/incidents/raw-data`,
headers: {
"Content-Type": `application/json`,
"x-api-key": `${this.crimeometer.$auth.api_key}`,
},
params: {
lat: `{your_latitude}`,
lon: `{your_longitude}`,
distance: `{your_distance}`,
datetime_ini: `{your_datetime_ini}`,
datetime_end: `{your_datetime_end}`,
},
})
},
})