Revolutionize your Bluesky interactions unlocking the power of automation.
Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.
Fetches a post from Bluesky using its URL. See the documentation
Allows you to reply to a post in Bluesky. See the documentation
The Bluesky by Unshape API lets you create, manage, and interact with your Bluesky social media account programmatically. With the API, you can post new statuses, follow or unfollow accounts, fetch a user's statuses, and more. In Pipedream, this can be leveraged to automate social media content sharing, track account interactions, and integrate with other services for enhanced social media management.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bluesky_by_unshape: {
type: "app",
app: "bluesky_by_unshape",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.unshape.app/bluesky/me `,
headers: {
"X-Bluesky-Username": `${this.bluesky_by_unshape.$auth.bluesky_username}`,
"X-Bluesky-Email": `${this.bluesky_by_unshape.$auth.bluesky_email}`,
"X-Bluesky-App-Password": `${this.bluesky_by_unshape.$auth.bluesky_password}`,
"Accept": `application/json`,
},
})
},
})
Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.
This includes installing PyPI packages, within your code without having to manage a requirements.txt
file or running pip
.
Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:
def handler(pd: "pipedream"):
# Reference data from previous steps
print(pd.steps["trigger"]["context"]["id"])
# Return data for use in future steps
return {"foo": {"test":True}}