Git Product home page Git Product logo

Comments (3)

ay8s avatar ay8s commented on August 15, 2024

We don't really use the rounds on our side. We tend to mark them as cancelled for a week or two and then remove them just to clean things up within the UI. The canceled flag doesn't behave super well within the layout on mobile devices so it was quicker to remove and revisit fixing that later.

We'll look at updating the round numbers next time we come to update the json.

Neat project! Do you access that json directly via GitHub or did you discover the https://f1calendar.com/api/year/2023 url.

from f1.

witnessmenow avatar witnessmenow commented on August 15, 2024

Cool, yeah no worries, I wasn't sure it was being used anywhere, just thought I'd raise it when I saw it.

No problem about Imola situation either, it also doesn't impact my use case as I just show the next race.

Cheers! I fetch the json file from GitHub. I didn't want to assume it was ok to add additional load to your server so I didn't even look into the underlying apis etc. Originally I kept the file locally, but then Miami changed the race times the week of the race so I now download the file from GitHub every hour

There is also a chance that additional people will make the project too, so while it might be ok for one Arduino to be hitting the server, if there is a bunch it might add too much.

The code for it is here if your interested: https://github.com/witnessmenow/F1-Arduino-Notifications

from f1.

ay8s avatar ay8s commented on August 15, 2024

Honestly it should be fine @witnessmenow. We're well within our limits and are fortunate to be sponsored by Vercel. We heavily cache the API routes so it's effectively pulling down a static file as long as it's only refreshing periodically with a sensible time between unlike Google Calendar who seem to refresh way too often. πŸ˜†

from f1.

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.