Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Darksky.net does not accept any new sing up !! #5

Open
oxygenroad opened this issue Oct 18, 2020 · 3 comments
Open

Darksky.net does not accept any new sing up !! #5

oxygenroad opened this issue Oct 18, 2020 · 3 comments

Comments

@oxygenroad
Copy link

darksky does not give free access to API development and there is no sing up available any more , and by using the same url in teaching course i get the error below { code: 401, error: 'permission denied' } when use the response.body code.
i can't even use your url using for teaching .

@obeka
Copy link

obeka commented Oct 19, 2020

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 .

@mobinkazemi
Copy link

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

@hassanamg95
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants