Coder Social home page Coder Social logo

Comments (7)

chubin avatar chubin commented on May 6, 2024 1

The query limits are removed now.

from wttr.in.

skip- avatar skip- commented on May 6, 2024

Please excuse the above if you did implement caching. I didn't see it when I read through srv.py but perhaps it is implemented in wego or some other dependency.

I did go to worldweatheronline.com and found in their FAQ the following entry requesting that free API users cache requests in 15 minute intervals (even longer than I was thinking):

Is there a limit on the number of weather data requests per day for Free API users?

Our free weather API users have a limit of 250 requests per day.

We also request the proper caching of data before new requests for same location are made within 15 minutes.

from wttr.in.

chubin avatar chubin commented on May 6, 2024

see also: #9

from wttr.in.

alexellis avatar alexellis commented on May 6, 2024

Is there a rate limit on the public service?

from wttr.in.

chubin avatar chubin commented on May 6, 2024

@alexellis Yes, but it can be hardly reached. Why? Are you experiencing some problems currently?

from wttr.in.

alexellis avatar alexellis commented on May 6, 2024

Curious how much it can be used by an individual user. 100 times? 1k times? 100k times?

I might accept it into the OpenFaaS Function Store

from wttr.in.

chubin avatar chubin commented on May 6, 2024

@alexellis currently we have the following limits (per IP):

# (minute, hour, day) limitations:
QUERY_LIMITS = (300, 3600, 24*3600)

but they will be increased soon

I've just gone through the issue you've mentioned, I would like to make a couple of remarks:

  1. wttr.in supports configurable queries (/:help for that), you should consider making them configurable; via some additional function parameters etc;
  2. wttr.in is translated into 60 languages, is should be configurable too;
  3. wttr.in supports single line mode with many addtional data that can't be seen in the main mode (see: curl wttr.in/?format=3 for example)
  4. Several new cool features (output formats) will be added soon

from wttr.in.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.