Skip to content

Commit 8b7486e

Browse files
Update README.md
1 parent 69a2192 commit 8b7486e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ Application Programming Interface(API) is a way for two or more computer program
99
## What is this API?
1010
BBC Bangla API is an API that serves you the News from [BBC Bangla](https://bbc.com/bengali)!
1111

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+
1218
## Requirements
1319
| Name | Version | Install Syntax |
1420
| ---:| :---: | :--- |
@@ -23,7 +29,7 @@ All the modules are mentioned with versions in [requirements.txt](https://github
2329

2430
## How to use?
2531
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
2733
If the Status says `OK` that means you've configured `Flask` perfectely! Now you just need to add `/news` after the Link printed before!
2834
It should take some time to give the output because It need to fetch every single News of [BBC Bangla](https://bbc.com/bengali).
2935

0 commit comments

Comments
 (0)