Linear helps streamline software projects, sprints, tasks, and bug tracking. It's built for high-performance teams.
Get a URL and emit the full HTTP event on every request (including headers and query parameters). You can also configure the HTTP response code, body, and more.
Get a URL and emit the HTTP body as an event on every request
Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.
Send an HTTP GET request to any URL. Optionally configure query string parameters, headers and basic auth.
With the Linear API, you can build a variety of applications that allow users
to track their work and progress over time. For example, you could build a task
manager that allows users to track their to-do lists and progress on each task,
or a project manager that allows users to track their progress on different
projects.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
linear: {
type: "app",
app: "linear",
}
},
async run({steps, $}) {
const data = {
"query": `{
user(id: "me") {
id
name
email
}
}`,
}
return await axios($, {
method: "post",
url: `https://api.linear.app/graphql`,
headers: {
Authorization: `Bearer ${this.linear.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})
// To use any npm package on Pipedream, just import it
import axios from "axios"
export default defineComponent({
async run({ steps, $ }) {
const { data } = await axios({
method: "GET",
url: "https://pokeapi.co/api/v2/pokemon/charizard",
})
return data.species
},
})