Skip to main content

Get Population Data of the world

Project description

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

# YOUR API KEY(Get it from here https://rapidapi.com/aldair.sr99/api/world-population/)

my_api = YOUR API KEY

# country population data
country_population = Population_data.get_country_population(my_api, "Canada")
print(country_population)

# world population data
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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

population_data-0.0.8.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

population_data-0.0.8-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file population_data-0.0.8.tar.gz.

File metadata

  • Download URL: population_data-0.0.8.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for population_data-0.0.8.tar.gz
Algorithm Hash digest
SHA256 0890a5c2de0ead5f9de5626a27c13a91b9eb08d2ac14a1c3c2f75ccbde4cc966
MD5 90a8d71a27ef40016e2ef782f123165e
BLAKE2b-256 aed620d94188d24f38200a78c676d79c0976dfd03c402983e324f70d045f06b4

See more details on using hashes here.

File details

Details for the file population_data-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: population_data-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for population_data-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b991f7eb44dd90c0457ddbb07427e88fca0a782875c0709d0d565dc8502874d8
MD5 c6a207396f8a0550380b028ea7d34513
BLAKE2b-256 996f6924378604ab14e2e0dd08d5efb031ee7a7d3e5f45744a587f6f8c60ac48

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page