Comments (9)
I have already got api_key
, but it still doesn't work
from xbar-plugins.
I have found problem. It's in get_wx()
in weather_data['visibility']
and weather_data['next_hour']
, cause json
response from forecast
hasn't got ['currently']['visibility']
and ['minutely']['summary']
from xbar-plugins.
What location are you grabbing weather for? The plugin checks weather for all those nodes- if one doesn't exist it'll catch the exception and hang. You can modify it by deleting some of the nodes that may not work for specific location, or add better error-handling for each of the nodes
from xbar-plugins.
That's response from ipinfo.io
:
{
"ip": "212.5.****.****",
"hostname": "firewall.****.ru",
"city": "",
"region": "",
"country": "RU",
"loc": "55.7500,37.6166",
"org": "****"
}
I'm from Russia/Moscow.
P.S. Yeah, I have deleted visibility
and next_hour
from plugin.
from xbar-plugins.
I live in Manila and have the same problem as well. The JSON I got from forcast.io doesnβt provide any minutely
information.
Itβd probably be better if the less important information are conditional based on availability. π
from xbar-plugins.
I'll fix this up to be a bit more conditional for my international friends π
from xbar-plugins.
Thanks a lot!
from xbar-plugins.
Tried #226. Works like a charm! Thanks!
from xbar-plugins.
good work amigo!
from xbar-plugins.
Related Issues (20)
- enphase_envoy.4m.rb: HOT 2
- 001-currency-tracker.1h.py: HOT 2
- stock-ticker.py: Yahoo API needs auth. A free service is still available on another URL
- 001-riggedCoinFlip.1h.sh: HOT 2
- 001-emojiWeather.30m.js: request module has been deprecated HOT 1
- Adding a New System Information Plugin HOT 4
- notifications.30s.py: add support for Discussions notifications HOT 1
- Error when running script cmd line ":22:in `<main>': uninitialized constant API (NameError)" HOT 8
- 001-redditnotify.30s.py: Error when running HOT 1
- 001-bandwidth.1s.py: HOT 2
- 001-rbc.10m.sh: HOT 2
- Plugin can't call itself
- 001-robinhood.1m.py: HOT 1
- 001-exchange-rates.5m.sh: HOT 2
- xbar shows no icons at all if any plugin can't be executed HOT 1
- Open App HOT 3
- 001-dnsswitcher.1d.sh: HOT 3
- no module emoji
- 001-pubmed.py: HOT 7
- 001-pubmed.py: HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xbar-plugins.