Giter Club home page Giter Club logo

Comments (16)

warengonzaga avatar warengonzaga commented on May 19, 2024 1

@yowmamasita thanks for the suggestion I will study this and will give you some updates...

from covid19-tracker-cli.

ianvizarra avatar ianvizarra commented on May 19, 2024 1

@warengonzaga @yowmamasita https://github.com/kroitor/asciichart
This is the closest chart library I could find for generating charts in the console. Do you have any recommendations?

from covid19-tracker-cli.

ianvizarra avatar ianvizarra commented on May 19, 2024 1

I created another endpoint for the historical graph. My initial plan was to add this to the existing endpoints but that will require an additional API call. It would be nice if the historical API supports ISO 3166-1 and include a summary of cases, deaths, active and recovered stats.

https://corona.lmao.ninja/v2/historical

@warengonzaga Any suggestions here before I create a PR?

Screen Shot 2020-03-29 at 3 23 25 PM

from covid19-tracker-cli.

warengonzaga avatar warengonzaga commented on May 19, 2024 1

@ianvizarra I like the idea!

from covid19-tracker-cli.

warengonzaga avatar warengonzaga commented on May 19, 2024

@yowmamasita I'm thinking also of adding a graph... looking for some alternative way to show it on CLI.

from covid19-tracker-cli.

warengonzaga avatar warengonzaga commented on May 19, 2024

@warengonzaga @yowmamasita https://github.com/kroitor/asciichart
This is the closest chart library I could find for generating charts in the console. Do you have any recommendations?

Thank you, I'll take a look on this...

from covid19-tracker-cli.

warengonzaga avatar warengonzaga commented on May 19, 2024

@ianvizarra I love to see that on version 3 you're timing... anyway.. why is it uppercase?
PHILIPPINES should be Philippines. This is for consistency.

I like the new endpoint/route on the tracker... let do it.

from covid19-tracker-cli.

warengonzaga avatar warengonzaga commented on May 19, 2024

@ianvizarra how about something like this?

url/history/philippines/ or /all --> return national stats (is it possible to mix all of it in a graph?)

by specified endpoint...
url/history/philippines/cases
url/history/philippines/deaths
url/history/philippines/recovered
etc...

This is to avoid too much display in user's command line... let's limit it.

from covid19-tracker-cli.

warengonzaga avatar warengonzaga commented on May 19, 2024

@ianvizarra I would suggest submit the PR on dev branch.

from covid19-tracker-cli.

ianvizarra avatar ianvizarra commented on May 19, 2024

@warengonzaga

PHILIPPINES should be Philippines. This is for consistency.

Noted on this.

url/history/philippines/ or /all --> return national stats (is it possible to mix all of it in a graph?)

I can mix it's summary stats but the /all is not yet supported in the historical API

url/history/philippines/cases
url/history/philippines/deaths
url/history/philippines/recovered

as of now only cases and deaths are available in the v2/historical API

from covid19-tracker-cli.

ianvizarra avatar ianvizarra commented on May 19, 2024

@ianvizarra I would suggest submit the PR on dev branch.

Noted. Just like my previous PR. gitflow approach

from covid19-tracker-cli.

warengonzaga avatar warengonzaga commented on May 19, 2024

@ianvizarra

I can mix it's summary stats but the /all is not yet supported in the historical API

Nope, I mean this is our endpoint... just mix the data from NovelCOVID API...

from covid19-tracker-cli.

ianvizarra avatar ianvizarra commented on May 19, 2024

Nope, I mean this is our endpoint... just mix the data from NovelCOVID API...
url/history/philippines/

@warengonzaga Yes, I can mix the national stats with the graph so that means calling these APIs together
https://corona.lmao.ninja/countries/:country and
https://corona.lmao.ninja/v2/historical/:country. Did I get it right? 😄

However, url/history/all will not be possible for now.

from covid19-tracker-cli.

warengonzaga avatar warengonzaga commented on May 19, 2024

Nope, I mean this is our endpoint... just mix the data from NovelCOVID API...
url/history/philippines/

@warengonzaga Yes, I can mix the national stats with the graph so that means calling these APIs together
https://corona.lmao.ninja/countries/:country and
https://corona.lmao.ninja/v2/historical/:country. Did I get it right? 😄

However, url/history/all will not be possible for now.

What I mean is this...
url/history/philippines/ = covid19tracker.xyz/history/philippines || covid19tracker.xyz/history/philippines/all

Not the API itself... yeah we use the API I'm talking about our endpoint. Is that possible?

from covid19-tracker-cli.

ianvizarra avatar ianvizarra commented on May 19, 2024

@warengonzaga

Screen Shot 2020-03-29 at 4 56 04 PM

from covid19-tracker-cli.

warengonzaga avatar warengonzaga commented on May 19, 2024

We will close this as it is available on dev branch... expect the release on v3

from covid19-tracker-cli.

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.