This Azure Functions project utilizes serverless functions to retrieve movie information from the OMDB API. It provides a simple HTTP-triggered function that takes a movie title as a parameter and returns details about the movie.
This project demonstrates how to create an Azure Functions API with serverless functions written in Python. The HTTP-triggered function interacts with the OMDB API to fetch movie details based on the provided title.
- Install python version supported for your IDE locally .
- Azure Functions Core Tools
- Visual Studio Code
-
Clone the repository:
git clone (https://github.com/Maximalord/Serverlessapi.git)
-
Install dependencies:
pip install -r requirements.txt
- Accepts a movie title as a parameter.
- Makes a request to the OMDB API to fetch movie information.
- Returns the movie details in the HTTP response.
- YourFunctionApp
- GetMovieInfo
- __init__.py
- function.json
- requirements.txt
- host.json
- local.settings.json
- ...
Enable and configure Application Insights for monitoring your Azure Functions. Refer to Step 9 in the README for details.
This project is licensed under the MIT License.