with Apiary and changes.page?
Emit new event when a new post is created. See the documentation
Get the latest post from Changes Page. See the documentation
Fetch an API Blueprint for a particular API. See the documentation
Get the pinned post from Changes Page. See the documentation
Publish an API Blueprint for a particular API. See the documentation
The Apiary API, part of the Foursquare suite of applications, opens a treasure trove of location-based data and functionality. It's a powerful tool for developers aiming to enrich their apps with detailed information about venues, user check-ins, and location-based recommendations. From creating personalized travel guides to enhancing event management systems with nearby point of interest (POI) suggestions, Apiary's robust set of endpoints can be leveraged to tailor user experiences based on their real-world surroundings.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
apiary: {
type: "app",
app: "apiary",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.apiary.io/me`,
headers: {
Authorization: `Bearer ${this.apiary.$auth.token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
changes_page: {
type: "app",
app: "changes_page",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.changes_page.$auth.subdomain}.changes.page/latest.json`,
})
},
})