Tides

ÜCRETLİ
Taraf API Hood | Güncelleyen 5 giorni fa | Weather
Popülerlik

9.4 / 10

Gecikme

534ms

Hizmet Düzeyi

100%

Health Check

N/A

Tüm Tartışmalara Dön

API Schema Error

Rapid account: Onur Sd
OnurSd
4 anni fa

When I copy and paste the API Schema’s extended version to Xcode .json file, I get the following error
"Error: Syntax error in input JSON Forecast: Parser cannot parse input: expected an object key.
Command PhaseScriptExecution failed with a nonzero exit code"

Any help regarding the API doc ?

Rapid account: Apihood
apihood Commented 4 anni fa

Hello,

I’m sorry, but I don’t know which schema you have in mind. Please, could you share the steps you did for us to be able to investigate the issue.

Are you referring to this schema located in https://rapidapi.com/apihood/api/tides/endpoints?

{
  "type": "object",
  "properties": {
    "disclaimer": {
      "type": "string"
    },
    "status": {
      "type": "integer"
    },
    "latitude": {
      "type": "number"
    },
    "longitude": {
      "type": "number"
    },
    "origin": {
      "type": "object",
      "properties": {
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        },
        "distance": {
          "type": "number"
        },
        "unit": {
          "type": "string"
        }
      }
    },
    "datums": {
      "type": "object",
      "properties": {
        "LAT": {
          "type": "number"
        },
        "HAT": {
          "type": "number"
        }
      }
    },
    "timestamp": {
      "type": "integer"
    },
    "datetime": {
      "type": "string"
    },
    "unit": {
      "type": "string"
    },
    "timezone": {
      "type": "string"
    },
    "datum": {
      "type": "string"
    },
    "extremes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "integer"
          },
          "datetime": {
            "type": "string"
          },
          "height": {
            "type": "number"
          },
          "state": {
            "type": "string"
          }
        }
      }
    },
    "heights": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "integer"
          },
          "datetime": {
            "type": "string"
          },
          "height": {
            "type": "number"
          },
          "state": {
            "type": "string"
          }
        }
      }
    },
    "copyright": {
      "type": "string"
    }
  }
}

Thank you

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun