Skip to content
This repository was archived by the owner on Dec 22, 2023. It is now read-only.

Commit f87f74a

Browse files
authored
Merge pull request #70 from amitsingh6391/patch-1
update readme
2 parents c90ff5d + a7fc33a commit f87f74a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Scripts/API/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,17 @@
1+
##What is an API?
12

3+
An API, or Application Programming Interface, is a server that you can use to retrieve and send data to using code. APIs are most commonly used to retrieve data, and that will be the focus of this beginner tutorial.
4+
5+
When we want to receive data from an API, we need to make a request. Requests are used all over the web. For instance, when you visited this blog post, your web browser made a request to the Dataquest web server, which responded with the content of this web page.
6+
7+
8+
##Making API Requests in Python
9+
10+
In order to work with APIs in Python, we need tools that will make those requests. In Python, the most common library for making requests and working with APIs is the requests library. The requests library isn’t part of the standard Python library, so you’ll need to install it to get started.
11+
12+
If you use pip to manage your Python packages, you can install requests using the following command:
13+
14+
#pip install requests
15+
If you use conda, the command you’ll need is:
16+
17+
#conda install requests

0 commit comments

Comments
 (0)