Comments (4)
Does the changes introduced in 3454682 solve this for you?
from weatherapi.
It's definitely more flexible but I'd prefer an explicit constructor:
WeatherAPI instance = new WeatherAPI(credentials, lruCacheSize, etc)
from weatherapi.
My only reservation with an explicit constructor is all the overloading that would need to be done for different sets of parameters. Some kind of config
object that can be passed in would solve this, however.
from weatherapi.
As a quick heads-up - Snowplow wintern @AALEKH is working on a PR to add this functionality. We need this to deliver the weather enrichment in Snowplow...
from weatherapi.
Related Issues (12)
- More providers!
- Better Algorithm to select a provider HOT 5
- Typo in IWeather
- Figure out how to include PGP_PASSWORD and PGP_SECRET_KEY in Travis build HOT 8
- Add ability to get weather at <timestamp> HOT 2
- Add LRU cache support HOT 3
- Add a Scala API HOT 1
- Integrate Wunderground as a provider HOT 1
- getDegreesCelcius and getDegressFahrienhiet() misspelt HOT 1
- Need to URI encode city names HOT 1
- Issue using WeatherAPI from Gradle HOT 1
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 weatherapi.