Giter Club home page Giter Club logo

Comments (3)

obeka avatar obeka commented on July 17, 2024 1

It doesn't accept new sign ups, it's true. You can't use Andrew's Api key because probably he changed it after he prepared the tutorial for security reasons , you also shouldn't share your key with others . You can use other forecast api provider , there are tons of them. What you should do is firstly understand the structure of Api , what you are getting when you make the request. Where is the max min temperature, or humidity inside the JSON object you are getting. It is the reality of being a developer. İf you can't do smt, you have to find a new way or produce a new way to get the work done . Here is one forecast provider that you can use :

https://openweathermap.org/api

İt's very easy to use btw .

from node-course-v3-code.

mobinkazemi avatar mobinkazemi commented on July 17, 2024 1

It doesn't accept new sign ups, it's true. You can't use Andrew's Api key because probably he changed it after he prepared the tutorial for security reasons , you also shouldn't share your key with others . You can use other forecast api provider , there are tons of them. What you should do is firstly understand the structure of Api , what you are getting when you make the request. Where is the max min temperature, or humidity inside the JSON object you are getting. It is the reality of being a developer. İf you can't do smt, you have to find a new way or produce a new way to get the work done . Here is one forecast provider that you can use :

https://openweathermap.org/api

İt's very easy to use btw .

Hi. I had the same problem and after browsing on the web I found openweather api. But I have a problem . I tried to analyze its JSON structure. I separated response.body from the whole response I get. The issue comes here:
I can not access any property from of body. Any property I try to use (like: response.body.location) returns undefined. Am I using it in a wrong way?
Here is the body:
https://drive.google.com/file/d/1okWXgyBOSlcZxQqKDw9F4ZkhlAewVel5/view?usp=sharing

from node-course-v3-code.

hassanamg95 avatar hassanamg95 commented on July 17, 2024

@mobinkazemi
Hi dear friend !
I have the same issue , please can you tell me how you fixed it

from node-course-v3-code.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.