with Appcircle and Formatting?
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
The Appcircle API provides programmatic access to Appcircle's mobile CI/CD features, allowing you to automate build, test, and deployment processes for mobile apps. With it, you can trigger builds, fetch build outputs, manage distribution profiles, and more directly via HTTP requests. Integrating the Appcircle API with Pipedream unlocks a world of automation possibilities, where you can seamlessly connect your mobile app development workflow with other services and internal systems, streamlining your CI/CD pipeline.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
appcircle: {
type: "app",
app: "appcircle",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.appcircle.io/distribution/v2/profiles`,
headers: {
Authorization: `Bearer ${this.appcircle.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})