GithubHelp home page GithubHelp logo

vincederprince / world-population-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 17.34 MB

An API to get the popular quotes from the site worldometers.info.

PowerShell 0.05% Shell 0.02% Python 99.67% C 0.25% JavaScript 0.01%
api beautifulsoup4 fastapi population python world-population worldometer-api worldometer-scraping worldometers

world-population-api's Introduction

World-Population-API

An API to get the popular quotes from the site worldometers.info.

Features

You can get:

  • Get the live world population
    • All: world population
    • Today: world population today
    • This year: world population this year
  • Get the live birth count of...
    • ...today: todays births
    • ...this year: this years births
  • Get the live death count of...
    • ...today: todays births
    • ...this year: this years deaths

Setup

Virtual Environment

python3 -m venv venv
source venv/bin/activate

Or use any virtual environment you like.

Uvicorn

To show the UI I used in the Introduction, we use uvicorn. You do this as such:

uvicorn main:app --reload

It should know look like this in your terminal and a browser Window with the API UI should show up. To get this better looking interface, as in my preview of the features, append "/docs" at the end of the link in your browser!

Uvicorn Setup

Need To Know

This API is not to be used neither is being used for commercial use exists to hurt the worldometers.info site. The API was created because I want to practice my API developing and web scraping skills!

world-population-api's People

Contributors

vincederprince avatar

Watchers

 avatar

world-population-api's Issues

I need help.

Hey how are you,
I am working on a website and I need this api to for my calculation but I can not get it to work I've tried so much but I can't figure it out, uvicorn won't work and the virtual environment gives me errors. I just need it for the current world population so my code can have a live calculation. please help me if you can.

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.