Recreation.gov

The Recreation Information Database (RIDB) provides data resources to citizens, offering a single point of access to information about recreational opportunities nationwide.

Integrate the Recreation.gov API with the Node API

Setup the Recreation.gov API trigger to run a workflow which integrates with the Node API. Pipedream's integration platform allows you to integrate Recreation.gov and Node remarkably fast. Free for developers.

Run Node Code with Node API on New Campsite Availability Changed Event from Recreation.gov API
Recreation.gov + Node
 
Try it
Run Node Code with Node API on New Recreation Area Added Event from Recreation.gov API
Recreation.gov + Node
 
Try it
New Campsite Availability Changed Event from the Recreation.gov API

Emit new events when selected campsite's availability is changed. See the documentation

 
Try it
New Recreation Area Added Event from the Recreation.gov API

Emit new events when a new recreation area is added to the Recreation.gov database. See the documentation

 
Try it
Get Recreation Area with the Recreation.gov API

Retrieves details of a specific campsite. See the documentation

 
Try it
Run Node Code with the Node API

Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.

 
Try it
Search Campsites with the Recreation.gov API

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

 
Try it
Search Recreation Areas with the Recreation.gov API

Searchs recreation areas with the given properties. If no parameters given, returns all. See the documentation

 
Try it

Overview of Recreation.gov

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.

Connect Recreation.gov

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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}`,
      },
    })
  },
})

Overview of Node

Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.

This includes installing NPM packages, within your code without having to manage a package.json file or running npm install.

Below is an example of installing the axios package in a Pipedream Node.js code step. Pipedream imports the axios package, performs the API request, and shares the response with subsequent workflow steps:

Connect Node

1
2
3
4
5
6
7
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
  async run({ steps, $ }) {
    // Return data to use it in future steps
    return steps.trigger.event
  },
})

Community Posts

Automate checking a ticket system's availability with Node.js and Pipedream
Automate checking a ticket system's availability with Node.js and Pipedream
How I used Node.js and Pipedream to automatically scrape a ticket booking site and notify me if availability had changed.