Following along to pull data from a different API, I get this error code however "Failed to log metrics keyNotFound(CodingKeys(stringValue: "strInstructions", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "meals", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: \"strInstructions\", intValue: nil) (\"strInstructions\").", underlyingError: nil))" It seems as if it wants keys. Any guidance would be great!
Hi! I'm trying to implement this tutorial to create my own project, but I'm having trouble with getting the right json information into my code. I am also working with a crypto api, but the json file only has one file that looks like this for the one cryptocurrency I am working with (eth): {"USD":4544.87,"EUR":3941.84,"CNY":29281.01,"JPY":516069.14,"GBP":3356.72} How would I go about this differently when writing the certain methods and creating the different variables?
Its all about unpacking the json. In the format that is provided by the API. I believe this tutorial has all the information required for you to get what you need from that sample data you provided