with Accredible and Mapbox?
This source triggers when a new credential is issued to a recipient. See the documentation
Emit new event when an existing credential's details are updated or modified. See the documentation
Issue a new credential to a given recipient. See the documentation
Uploads and creates a new tileset from a data source. See the documentation
Remove a specific credential from the system. See the documentation
Generates directions between two or more locations using Mapbox API. See the documentation
Retrieves the geocoded location for a given address. See the documentation
The Accredible API lets you automate the creation and management of digital certificates, badges, and blockchain credentials. Using Pipedream, you can connect the Accredible API to myriad services for streamlined workflow automation. Create digital certificates when a student completes a course, update credentials with new information, or share achievements across social platforms or via email. Pipedream's serverless platform enables you to integrate these actions with other apps, such as learning management systems, CRMs, and communication tools, without writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
accredible: {
type: "app",
app: "accredible",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.accredible.com/v1/issuer/details`,
headers: {
"Content-Type": `application/json`,
"Authorization": `Token token=${this.accredible.$auth.api_key}`,
},
})
},
})
The Mapbox API offers a suite of tools for developers to integrate location-based services into their applications. With Pipedream, you can leverage Mapbox's capabilities to create complex automations and workflows, like real-time mapping, geocoding, and route optimization. Whether you're managing delivery routes, analyzing spatial data, or personalizing user experiences based on location, Mapbox provides the geographical intelligence that, when combined with Pipedream's serverless platform, can turn these ideas into efficient, automated processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mapbox: {
type: "app",
app: "mapbox",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mapbox.com/directions/v5/mapbox/driving/41.41338%2C2.27403%3B41.40338%2C2.17403`,
params: {
access_token: `${this.mapbox.$auth.access_token}`,
alternatives: `true`,
geometries: `geojson`,
language: `en`,
overview: `simplified`,
steps: `true`,
},
})
},
})