Skip to content

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

Notifications You must be signed in to change notification settings

VinceDerPrince/World-Population-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

Releases

No releases published

Packages

No packages published

Languages