A package that allows you to get world and country pouplation data
Population Data of the world
Developed by Anshu from Techi Tutorials (c) 2021
How To Use
from population_data import Population_data
my_api = YOUR API KEY
country_population = Population_data.get_country_population(my_api, "Canada")
print(country_population)
world_population = Population.get_world_population(my_api)
print(world_population)
get_country_population() method takes additional argument of the query string, that is country name
and returns the json response
Check out: https://techitutorials.com