The Recreation Information Database (RIDB) provides data resources to citizens, offering a single point of access to information about recreational opportunities nationwide.
Emit new events when selected campsite's availability is changed. See the documentation
Emit new events when a new recreation area is added to the Recreation.gov database. See the documentation
Emit new event each time a Telegram Bot command is received.
Emit new event each time a channel post is created or updated.
Emit new event each time a Telegram message is created or updated.
Retrieves details of a specific campsite. See the documentation
Create an additional invite link for a chat, See the docs for more information
Edits photo or video messages. See the docs for more information
Searchs campsites with the given query. If no query given, returns campsites from the beginning. Returning campsite number is limited to 1000
. See the documentation
The Recreation.gov API provides access to data about federal recreational activities and areas. With it, you can fetch details about campsites, tours, permits, and articles. On Pipedream, leverage this API to automate notifications, analyze recreational data, or integrate with other services for trip planning or environmental monitoring.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
recreation_gov: {
type: "app",
app: "recreation_gov",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://ridb.recreation.gov/api/v1/campsites`,
params: {
apikey: `${this.recreation_gov.$auth.api_key}`,
},
})
},
})
The Telegram Bot API allows you to build bots that can interact with users on the Telegram platform. Using Pipedream, you can automate messaging, handle commands, and trigger actions based on conversations or alerts. Pipedream's serverless execution model enables you to create complex workflows involving Telegram messages without managing any infrastructure. With Pipedream's integration, you can process inbound messages, send outbound notifications, and connect the Telegram Bot API with numerous other services to create powerful automation solutions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
telegram_bot_api: {
type: "app",
app: "telegram_bot_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.telegram.org/bot${this.telegram_bot_api.$auth.token}/getMe`,
})
},
})