YashKarthik2827 / munch

Employable?
0 stars 2 forks source link

Hello World, API Call, store to file #3

Closed yendelevium closed 2 months ago

yendelevium commented 2 months ago

Pull Req

yendelevium commented 2 months ago

@raamsri Added the API Call, and wrote the JSON data to a file. Making the API call took about the same time as allotted. Writing the JSON to the file took longer than expected, will have to re-evaluate time allotment.

raamsri commented 2 months ago

I appreciate the effort. Cheers!

Quick note: There is a critical fix that may be required; I'll point it out. The others are recommended as better programming practice.

yendelevium commented 2 months ago

Please delete the API key from your meteoblue account immediately and get a new key. @Yendelevium

Done

yendelevium commented 2 months ago

Made the changes and also finished extracting data from the file and sending a response to the user. Please review @raamsri Took me around 1.5hrs, was having some troubles parsing the JSON to my struct