{
  "opencollection": "1.0.0",
  "info": {
    "name": "Precisely APIs Earthquake API",
    "version": "18.1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "implicit",
      "authorizationUrl": "https://api.precisely.com/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Earthquake",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Earthquake Risk By Location",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.precisely.com/risks/v1/earthquake/bylocation",
            "params": [
              {
                "name": "longitude",
                "value": "",
                "type": "query",
                "description": "The longitude of the location"
              },
              {
                "name": "latitude",
                "value": "",
                "type": "query",
                "description": "The latitude of the location"
              },
              {
                "name": "richterValue",
                "value": "",
                "type": "query",
                "description": "all (default value), R0, R1, R2, R3, R4, R5, R6, R7, R0_GE, R1_GE, R2_GE, R3_GE, R4_GE, R5_GE, R6_GE, R7_GE"
              },
              {
                "name": "includeGeometry",
                "value": "",
                "type": "query",
                "description": "Y or N (default is N) - if it is Y, then geometry will be part of response"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "implicit",
              "authorizationUrl": "https://api.precisely.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}"
              }
            }
          },
          "docs": "Accepts latitude & longitude as input and Returns counts of earthquakes for various richter measurements and values."
        },
        {
          "info": {
            "name": "Post Earthquake Risk By Location",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.precisely.com/risks/v1/earthquake/bylocation",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "implicit",
              "authorizationUrl": "https://api.precisely.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}"
              }
            }
          },
          "docs": "This is a Batch offering for 'Earthquake Risk By Location' service. It accepts a single location coordinate or a list of location coordinates and retrieve counts of earthquakes for various richter measurements and values."
        },
        {
          "info": {
            "name": "Get Earthquake Risk By Address",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.precisely.com/risks/v1/earthquake/byaddress",
            "params": [
              {
                "name": "address",
                "value": "",
                "type": "query",
                "description": "free form address text"
              },
              {
                "name": "richterValue",
                "value": "",
                "type": "query",
                "description": "all (default value), R0, R1, R2, R3, R4, R5, R6, R7, R0_GE, R1_GE, R2_GE, R3_GE, R4_GE, R5_GE, R6_GE, R7_GE"
              },
              {
                "name": "includeGeometry",
                "value": "",
                "type": "query",
                "description": "Y or N (default is N) - if it is Y, then geometry will be part of response"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "implicit",
              "authorizationUrl": "https://api.precisely.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}"
              }
            }
          },
          "docs": "Accepts addresses as input and Returns counts of earthquakes for various richter measurements and values."
        },
        {
          "info": {
            "name": "Post Earthquake Risk By Address",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.precisely.com/risks/v1/earthquake/byaddress",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "implicit",
              "authorizationUrl": "https://api.precisely.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}"
              }
            }
          },
          "docs": "This is a Batch offering for 'Earthquake Risk By Address' service. It accepts a single address or a list of addresses and retrieve counts of earthquakes for various richter measurements and values."
        }
      ]
    }
  ],
  "bundled": true
}