Park Ranger GPT
Park Ranger GPT · GPT-Aktionen
National Park Service API
API for accessing alerts related to national parks in the United States.
GET /alertsRetrieve alerts information based on park codeGET /feespassesRetrieve fees and passes information based on park codeGET /multimedia/galleriesRetrieve multimedia galleries information based on park codeGET /multimedia/galleries/assetsRetrieve multimedia gallery assets based on park codeGET /passportstamplocationsRetrieve passport stamp locations based on park codeGET /visitorcentersRetrieve visitor centers information based on park codeGET /webcamsRetrieve webcams information based on park codeGET /campgroundsRetrieve campgrounds information based on park codeGET /thingstodoRetrieve information about things to do based on park code
Ursprüngliches API-Schema
{
"openapi": "3.0.0",
"info": {
"title": "National Park Service API",
"description": "API for accessing alerts related to national parks in the United States.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://developer.nps.gov/api/v1",
"description": "National Park Service API server"
}
],
"paths": {
"/alerts": {
"get": {
"operationId": "getAlertsByParkCode",
"summary": "Retrieve alerts information based on park code",
"parameters": [
{
"name": "parkCode",
"in": "query",
"required": true,
"description": "Code of the park to retrieve alerts information",
"schema": {
"type": "string"
}
},
{
"name": "api_key",
"in": "query",
"required": true,
"description": "API key for access",
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "The number of items to return in the response",
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Successful response with alerts information",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"total": {
"type": "string"
},
"limit": {
"type": "string"
},
"start": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"title": {
"type": "string"
},
"parkCode": {
"type": "string"
},
"description": {
"type": "string"
},
"category": {
"type": "string"
},
"relatedRoadEvents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"id": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
}
}
},
"lastIndexedDate": {
"type": "string",
"format": "date-time"
}
}
}
}
}
}
}
}
}
}
}
},
"/feespasses": {
"get": {
"operationId": "getFeesAndPassesByParkCode",
"summary": "Retrieve fees and passes information based on park code",
"parameters": [
{
"name": "parkCode",
"in": "query",
"required": true,
"description": "Code of the park to retrieve fees and passes information",
"schema": {
"type": "string"
}
},
{
"name": "api_key",
"in": "query",
"required": true,
"description": "API key for access",
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "The number of items to return in the response",
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Successful response with fees and passes information",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"total": {
"type": "string"
},
"limit": {
"type": "string"
},
"start": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"parkCode": {
"type": "string"
},
"isFeeFreePark": {
"type": "boolean"
},
"isInteragencyPassAccepted": {
"type": "boolean"
},
"cashless": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
},
"/multimedia/galleries": {
"get": {
"operationId": "getMultimediaGalleriesByParkCode",
"summary": "Retrieve multimedia galleries information based on park code",
"parameters": [
{
"name": "parkCode",
"in": "query",
"required": true,
"description": "Code of the park to retrieve multimedia galleries information",
"schema": {
"type": "string"
}
},
{
"name": "api_key",
"in": "query",
"required": true,
"description": "API key for access",
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "The number of items to return in the response",
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Successful response with multimedia galleries information",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"total": {
"type": "string"
},
"limit": {
"type": "string"
},
"start": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"altText": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
}
}
}
},
"/multimedia/galleries/assets": {
"get": {
"operationId": "getGalleryAssetsByParkCode",
"summary": "Retrieve multimedia gallery assets based on park code",
"parameters": [
{
"name": "parkCode",
"in": "query",
"required": false,
"description": "Code of the park to retrieve multimedia gallery assets",
"schema": {
"type": "string"
}
},
{
"name": "api_key",
"in": "query",
"required": true,
"description": "API key for access",
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "The number of items to return in the response",
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Successful response with multimedia gallery assets",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"total": {
"type": "string"
},
"limit": {
"type": "string"
},
"start": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"permalinkUrl": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"altText": {
"type": "string"
},
"fileInfo": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"fileType": {
"type": "string"
},
"widthPixels": {
"type": "string"
},
"heightPixels": {
"type": "string"
},
"fileSizeKb": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
}
}
}
},
"/passportstamplocations": {
"get": {
"operationId": "getPassportStampLocationsByParkCode",
"summary": "Retrieve passport stamp locations based on park code",
"parameters": [
{
"name": "parkCode",
"in": "query",
"required": true,
"description": "Code of the park to retrieve passport stamp locations",
"schema": {
"type": "string"
}
},
{
"name": "api_key",
"in": "query",
"required": true,
"description": "API key for access",
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "The number of items to return in the response",
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Successful response with passport stamp locations",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"total": {
"type": "string"
},
"limit": {
"type": "string"
},
"start": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"parks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"states": {
"type": "string"
},
"parkCode": {
"type": "string"
},
"designation": {
"type": "string"
},
"fullName": {
"type": "string"
},
"url": {
"type": "string"
},
"name": {
"type": "string"
}
}
}
},
"type": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
},
"/visitorcenters": {
"get": {
"operationId": "getVisitorCentersByParkCode",
"summary": "Retrieve visitor centers information based on park code",
"parameters": [
{
"name": "parkCode",
"in": "query",
"required": true,
"description": "Code of the park to retrieve visitor centers information",
"schema": {
"type": "string"
}
},
{
"name": "api_key",
"in": "query",
"required": true,
"description": "API key for access",
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "The number of items to return in the response",
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Successful response with visitor centers information",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"total": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"name": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
},
"/webcams": {
"get": {
"operationId": "getWebcamsByParkCode",
"summary": "Retrieve webcams information based on park code",
"parameters": [
{
"name": "parkCode",
"in": "query",
"required": true,
"description": "Code of the park to retrieve webcams information",
"schema": {
"type": "string"
}
},
{
"name": "api_key",
"in": "query",
"required": true,
"description": "API key for access",
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "The number of items to return in the response",
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Successful response with webcams information",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"total": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"title": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
},
"/campgrounds": {
"get": {
"operationId": "getCampgroundsByParkCode",
"summary": "Retrieve campgrounds information based on park code",
"parameters": [
{
"name": "parkCode",
"in": "query",
"required": true,
"description": "Code of the park to retrieve campgrounds information",
"schema": {
"type": "string"
}
},
{
"name": "api_key",
"in": "query",
"required": true,
"description": "API key for access",
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "The number of items to return in the response",
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Successful response with campgrounds information",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"total": {
"type": "integer"
},
"data": {
"type": "array",
"items": {
"type": "object"
}
}
}
}
}
}
}
}
}
}
},
"/thingstodo": {
"get": {
"operationId": "getThingsToDoByParkCode",
"summary": "Retrieve information about things to do based on park code",
"parameters": [
{
"name": "parkCode",
"in": "query",
"required": true,
"description": "Code of the park to retrieve things to do information",
"schema": {
"type": "string"
}
},
{
"name": "api_key",
"in": "query",
"required": true,
"description": "API key for access",
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "The number of items to return in the response",
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Successful response with things to do information",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"total": {
"type": "integer"
},
"data": {
"type": "array",
"items": {
"type": "object"
}
}
}
}
}
}
}
}
}
}
}
}
}NWS API
Access to critical forecasts, alerts, and observations from the National Weather Service.
GET /points/{latitude},{longitude}Retrieve weather data for a specific locationGET /gridpoints/{office}/{gridX},{gridY}/forecastRetrieve the forecast for a specific gridpoint
Ursprüngliches API-Schema
{
"openapi": "3.0.0",
"info": {
"title": "NWS API",
"description": "Access to critical forecasts, alerts, and observations from the National Weather Service.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://api.weather.gov",
"description": "National Weather Service API server"
}
],
"paths": {
"/points/{latitude},{longitude}": {
"get": {
"operationId": "getWeatherDataForLocation",
"summary": "Retrieve weather data for a specific location",
"parameters": [
{
"name": "latitude",
"in": "path",
"required": true,
"description": "Latitude of the location",
"schema": {
"type": "number",
"format": "float"
}
},
{
"name": "longitude",
"in": "path",
"required": true,
"description": "Longitude of the location",
"schema": {
"type": "number",
"format": "float"
}
}
],
"responses": {
"200": {
"description": "Successful response with weather data",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string"
},
"geometry": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"coordinates": {
"type": "array",
"items": {
"type": "number"
}
}
}
},
"properties": {
"type": "object",
"properties": {
"cwa": {
"type": "string"
},
"forecastOffice": {
"type": "string",
"format": "uri"
},
"gridId": {
"type": "string"
},
"gridX": {
"type": "integer"
},
"gridY": {
"type": "integer"
},
"forecast": {
"type": "string",
"format": "uri"
},
"forecastHourly": {
"type": "string",
"format": "uri"
},
"forecastGridData": {
"type": "string",
"format": "uri"
},
"observationStations": {
"type": "string",
"format": "uri"
},
"relativeLocation": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"geometry": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"coordinates": {
"type": "array",
"items": {
"type": "number"
}
}
}
},
"properties": {
"type": "object",
"properties": {
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"distance": {
"type": "object",
"properties": {
"unitCode": {
"type": "string"
},
"value": {
"type": "number"
}
}
},
"bearing": {
"type": "object",
"properties": {
"unitCode": {
"type": "string"
},
"value": {
"type": "number"
}
}
}
}
}
}
},
"forecastZone": {
"type": "string",
"format": "uri"
},
"county": {
"type": "string",
"format": "uri"
},
"fireWeatherZone": {
"type": "string",
"format": "uri"
},
"timeZone": {
"type": "string"
},
"radarStation": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
},
"/gridpoints/{office}/{gridX},{gridY}/forecast": {
"get": {
"operationId": "getGridpointForecast",
"summary": "Retrieve the forecast for a specific gridpoint",
"parameters": [
{
"name": "office",
"in": "path",
"required": true,
"description": "Office identifier",
"schema": {
"type": "string"
}
},
{
"name": "gridX",
"in": "path",
"required": true,
"description": "Grid X coordinate",
"schema": {
"type": "integer"
}
},
{
"name": "gridY",
"in": "path",
"required": true,
"description": "Grid Y coordinate",
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Successful response with forecast data",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"geometry": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"coordinates": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
}
}
}
},
"properties": {
"type": "object",
"properties": {
"updated": {
"type": "string",
"format": "date-time"
},
"units": {
"type": "string"
},
"forecastGenerator": {
"type": "string"
},
"generatedAt": {
"type": "string",
"format": "date-time"
},
"updateTime": {
"type": "string",
"format": "date-time"
},
"validTimes": {
"type": "string"
},
"elevation": {
"type": "object",
"properties": {
"unitCode": {
"type": "string"
},
"value": {
"type": "number"
}
}
},
"periods": {
"type": "array",
"items": {
"type": "object",
"properties": {
"number": {
"type": "integer"
},
"name": {
"type": "string"
},
"startTime": {
"type": "string",
"format": "date-time"
},
"endTime": {
"type": "string",
"format": "date-time"
},
"isDaytime": {
"type": "boolean"
},
"temperature": {
"type": "integer"
},
"temperatureUnit": {
"type": "string"
},
"temperatureTrend": {
"type": "string"
},
"probabilityOfPrecipitation": {
"type": "object",
"properties": {
"unitCode": {
"type": "string"
},
"value": {
"type": "integer"
}
}
},
"dewpoint": {
"type": "object",
"properties": {
"unitCode": {
"type": "string"
},
"value": {
"type": "number"
}
}
},
"relativeHumidity": {
"type": "object",
"properties": {
"unitCode": {
"type": "string"
},
"value": {
"type": "integer"
}
}
},
"windSpeed": {
"type": "string"
},
"windDirection": {
"type": "string"
},
"icon": {
"type": "string",
"format": "uri"
},
"shortForecast": {
"type": "string"
},
"detailedForecast": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}