The Recreation Information Database (RIDB) provides data resources to citizens, offering a single point of access to information about recreational opportunities nationwide.
Go to siteimport { 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}`,
},
})
},
})
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
Retrieves details of a specific campsite. See the documentation
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
Searchs recreation areas with the given properties. If no parameters given, returns all. See the documentation
Recreation.gov uses API keys for authentication. When you connect your Recreation.gov account, Pipedream securely stores the keys so you can easily authenticate to Recreation.gov APIs in both code and no-code steps.
Recreation.gov's API requires an API key to authenticate requests.
First sign up for an account at https://recreation.gov.
Then open the API dashboard and enabled developer access under your profile.
This will generate an API key for your account to use with Pipedream.
Copy the API key into the field below.