You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,12 @@ Application Programming Interface(API) is a way for two or more computer program
9
9
## What is this API?
10
10
BBC Bangla API is an API that serves you the News from [BBC Bangla](https://bbc.com/bengali)!
11
11
12
+
## Endpoints
13
+
| Name | Endpoints | Description |
14
+
| ---:| :---: | :--- |
15
+
|[BBC Bangla](https://bbc.com/bengali)|[/news](https://bbc-bangla-api.vercel.app/news)| Shows all the News from BBC Bangla |
16
+
||[/latest](https://bbc-bangla-api.vercel.app/latest)| Shows the news from `Latest` News and the First Category news |
17
+
12
18
## Requirements
13
19
| Name | Version | Install Syntax |
14
20
| ---:| :---: | :--- |
@@ -23,7 +29,7 @@ All the modules are mentioned with versions in [requirements.txt](https://github
23
29
24
30
## How to use?
25
31
Once you run the [Code](https://github.com/Sayad-Uddin-Tahsin/BBC-Bangla-API/blob/main/main.py), a piece of URL will be printed in your `Console`!
26
-
If you click the url you should get a result `{"status":"OK"}` according to [Line: 11 - 14](https://github.com/Sayad-Uddin-Tahsin/BBC-Bangla-API/blob/63dfed8d758586f40ba561dc0e3e3fd03aefb5c6/main.py#L11-L14). https://github.com/Sayad-Uddin-Tahsin/BBC-Bangla-API/blob/63dfed8d758586f40ba561dc0e3e3fd03aefb5c6/main.py#L11-L14
32
+
If you click the url you should get a result `{"status":"OK"}` according to [Line: 11 - 14](https://github.com/Sayad-Uddin-Tahsin/BBC-Bangla-API/blob/69a21922a0419d6db49bea858d7a5f94e4c5b003/main.py#L11-L14). https://github.com/Sayad-Uddin-Tahsin/BBC-Bangla-API/blob/69a21922a0419d6db49bea858d7a5f94e4c5b003/main.py#L11-L14
27
33
If the Status says `OK` that means you've configured `Flask` perfectely! Now you just need to add `/news` after the Link printed before!
28
34
It should take some time to give the output because It need to fetch every single News of [BBC Bangla](https://bbc.com/bengali).
0 commit comments