This API provides information about various programming languages, including database languages, markup languages, and scripting languages. It is deployed on Render and can be accessed using the following endpoints.
Endpoint:
GET https://programming-language-api.onrender.com/api/languagesDescription: Retrieves a list of all available programming languages with their details.
Endpoint:
GET https://programming-language-api.onrender.com/api/languages/{index}Description: Retrieves the programming language at the specified index in the dataset.
Example Request:
GET https://programming-language-api.onrender.com/api/languages/5Response:
{
"name": "Python",
"type": "Programming Language",
"paradigm": "Object-Oriented, Functional, Procedural",
"description": "Python is an interpreted, high-level programming language known for its simplicity and readability."
}Endpoint:
GET https://programming-language-api.onrender.com/api/languages/{language-name}Description: Retrieves details of a specific programming language by its name.
Example Request:
GET https://programming-language-api.onrender.com/api/languages/pythonResponse:
{
"name": "Python",
"type": "Programming Language",
"paradigm": "Object-Oriented, Functional, Procedural",
"description": "Python is an interpreted, high-level programming language known for its simplicity and readability."
}git clone https://github.com/Satyam4229/Programming-Language-API.git
cd Programming-Language-APIpip install -r requirements.txtpython app.pyThe API will be available at http://127.0.0.1:5000.
This API is hosted on Render and can be accessed using the URLs mentioned in the API Endpoints section.
To deploy it on Render, follow these steps:
- Push your latest code to GitHub.
- Go to Render and create a new Web Service.
- Connect your GitHub repository.
- Set the Build Command:
pip install -r requirements.txt - Set the Start Command:
gunicorn app:app - Deploy the service.
Feel free to contribute by submitting issues or pull requests on GitHub.
This project is licensed under the MIT License.
For any queries or suggestions, reach out via:
- GitHub: Satyam4229
- Email: psatyam4229@gmail.com