For more information you can visit my website: https://m-ahadi.ir
Open Source Projects I Contributed To:
This a library to use new yahoo weather API
License: Apache License 2.0
Open Source Projects I Contributed To:
FIRST TEST ERROR:
Tried as written with upper case Yahoo_Weather ----
Traceback (most recent call last):
File "irantest.py", line 4, in
data = Yahoo_Weather(APP_ID="xxx",
NameError: name 'Yahoo_Weather' is not defined
SECOND TEST ERROR:
Change to lower case yahoo_weather(APP_ID.... ---
Traceback (most recent call last):
File "irantest.py", line 6, in
apisecret="xxx")
TypeError: 'module' object is not callable
Tried to install one file type and then the other - both failed:
pi@raspberrypi:~/yahoo_weather-1.0.5 $ sudo make yahoo_weather-1.0.5.tar.gz
make: *** No rule to make target 'yahoo_weather-1.0.5.tar.gz'. Stop.
pi@raspberrypi:~/Downloads $ pip install yahoo_weather-1.0.5-py3-none-any.whl
yahoo_weather-1.0.5-py3-none-any.whl is not a supported wheel on this platform.
Suggestions?
Best regards,
Al Adkins
It seems that the URLs from the service changed:
HTTPSConnectionPool(host='weather-ydn-yql.media.yahoo.com', port=443): Max retries exceeded with url: /forecastrss?location=tehran&format=json&u=c&Yahoo-App-Id=XXXXXXXXX&oauth_timestamp=1644596601&oauth_signature_method=HMAC-SHA1&oauth_version=1.0&oauth_nonce=83527990&oauth_consumer_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&oauth_signature=h2xC4EqIIE%2FHQsQ1JSXz1jBfY%2BM%3D (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x10d2eef40>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))
Traceback (most recent call last):
File "yahoo-weather.py", line 9, in <module>
print(data.condition.text)
AttributeError: 'YahooWeather' object has no attribute 'condition'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.