International Quality Bulk SMS Service Provider. 1s2u.com is committed to be the best international Bulk SMS services provider in the world with high quality and real-time support for 24/7.
Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.
The 1S2U API provides SMS messaging functionality, enabling you to send texts globally from your Pipedream workflows. With this integration, you can automate notifications, alerts, and communication with users or staff, streamlining your outreach efforts. Pipedream’s serverless platform allows you to create complex workflows, triggering SMS sends based on events from various apps or custom logic.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ones2u: {
type: "app",
app: "ones2u",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.1s2u.io/checkbalance`,
params: {
user: `${this.ones2u.$auth.username}`,
pass: `${this.ones2u.$auth.password}`,
},
})
},
})
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}}