Retrieve public Vimeo album data using Flask! This application uses the Python web framework to communicate with Vimeo's REST API.
Follow these steps in the source code before starting development server.
You must first register app on Vimeo following this guide HERE
- Insert Vimeo API keys by inputting key syntax in main.py here:
client = vimeo.VimeoClient(
#API key SYNTAX GOES HERE
)
You can specify a certain video album(showcase) using the album ID in a get request or as an argument below:
@app.route('/')
def landing():
#Replace album_id with a public Vimeo album; You can find it in the URL
#Example: https://vimeo.com/showcase/7693012
album_id = '7693012'
In terminal, enter the following:
- export FLASK_APP=main
- flask run
- Enter the given URL in the browser
View a live version of this application at https://derekhenriquez-editor.com