I hereby claim:
- I am aranhaagency on github.
- I am aranhaagency (https://keybase.io/aranhaagency) on keybase.
- I have a public key ASDzmi1w7u-Ok7i5aFfENDzp0MpdvLMcY7Hs60BS191lXwo
To claim this, I am signing this object:
import requests | |
import json | |
Cidade = 'RiodeJaneiro-RJ' | |
DiasPrevisao = '7' | |
#response = requests.get('https://nimbus.somar.io/forecast/7days?city=SaoPaulo-SP&reference=Somar',headers={'x-api-key':'AYT8wrnNi14pBmrjSA7v823TzL9BspZSgdMTD1r1'}).json() | |
response_forecast = requests.get('https://nimbus.somar.io/forecast/'+DiasPrevisao+'days?city='+ Cidade +'&reference=Somar',headers={'x-api-key':'AYT8wrnNi14pBmrjSA7v823TzL9BspZSgdMTD1r1'}) | |
#print(json.dumps(response)) |
python3 api2.py | |
days ['2019-10-09 00:00', '2019-10-10 00:00', '2019-10-11 00:00', '2019-10-12 00:00', '2019-10-13 00:00', '2019-10-14 00:00', '2019-10-15 00:00'] | |
city RiodeJaneiro-RJ | |
lat -22.9 | |
lon -43.21 | |
forecast |
Hint: Some lines were ellipsized, use -l to show in full. | |
dpkg: error processing package nginx-core (--configure): | |
subprocess installed post-installation script returned error exit status 1 | |
dpkg: dependency problems prevent configuration of nginx: | |
nginx depends on nginx-core (>= 1.10.3-0ubuntu0.16.04.3) | nginx-full (>= 1.10.3-0ubuntu0.16.04.3) | nginx-light (>= 1.10.3-0ubuntu0.16.04.3) | nginx-extras (>= 1.10.3-0ubuntu0.16.04.3); however: | |
Package nginx-core is not configured yet. | |
Package nginx-full is not installed. | |
Package nginx-light is not installed. | |
Package nginx-extras is not installed. | |
nginx depends on nginx-core (<< 1.10.3-0ubuntu0.16.04.3.1~) | nginx-full (<< 1.10.3-0ubuntu0.16.04.3.1~) | nginx-light (<< 1.10.3-0ubuntu0.16.04.3.1~) | nginx-extras (<< 1.10.3-0ubuntu0.16.04.3.1~); however: |
I hereby claim:
To claim this, I am signing this object: