8000 GitHub - SK2108/python-api: Consuming an API with Python
[go: up one dir, main page]

Skip to content

SK2108/python-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-api

Consuming an API with Python

Create an environment

python3 -m venv .venv

Activate your environment

source .venv/bin/activate

Deactivate your environment

deactivate

Install packages

You can run the following command in your (.venv) terminal:

python3 -m pip install requests

Run the programme

python3 main.py

Testing the programme

Type this command in your terminal:

pytest

Useful links

About

Consuming an API with Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0