with Goodreads and goQR.me?
The Goodreads API allows you to tap into a vast database of books, reviews, and reading data. With it, you can fetch details about books, find similar books, and access user reviews and ratings. On Pipedream, this translates into a wealth of opportunities for automating tasks related to literature discovery, sharing reading experiences, and connecting with fellow readers.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
goodreads: {
type: "app",
app: "goodreads",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.goodreads.com/search.xml`,
headers: {
Authorization: `Bearer oauth`,
"accept": `application/json`,
},
params: {
key: `${this.goodreads.$auth.key}`,
"q": `Enders Game`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
goqr_me: {
type: "app",
app: "goqr_me",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.qrserver.com/v1/create-qr-code/`,
params: {
data: `${this.goqr_me.$auth.data}`,
size: `100x100`,
},
})
},
})