with Reddit and Originality.ai?
Emit new event each time a new comment is added to a subreddit.
Emit new event each time a new hot post is added to the top 10 items in a subreddit.
Emit new event each time a new link is added to a subreddit
List subreddits based on a search criteria. See the docs here
Scans a webpage for AI generated content. See the documentation
Scans a string for plagiarism as well as readability. See the documentation
The Reddit API unlocks the potential to automate interactions with one of the largest online communities. With Pipedream, you can tap into the Reddit ecosystem to monitor trends, engage with audiences, or curate content. Whether it's tracking mentions of your brand, auto-posting to subreddits, or gathering data for analysis, the API offers a breadth of functionalities — from getting posts and comments to creating new threads and managing account settings.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
reddit: {
type: "app",
app: "reddit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://oauth.reddit.com/api/v1/me`,
headers: {
Authorization: `Bearer ${this.reddit.$auth.oauth_access_token}`,
},
})
},
})
The Originality.ai API provides functionality to check content for potential plagiarism and AI-generated text. Within Pipedream's serverless environment, you can construct workflows that automate the process of evaluating originality in large volumes of text, integrate plagiarism checks into content pipelines, and flag content for further review. By leveraging this API in Pipedream, you can harness event-driven, scalable workflows to ensure content integrity across various platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
originality_ai: {
type: "app",
app: "originality_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.originality.ai/api/v1/account/credits/balance`,
headers: {
"X-OAI-API-KEY": `${this.originality_ai.$auth.api_key}`,
},
})
},
})