Vimeo is a video sharing platform that includes features such as live-streaming and customization. We can use the Vimeo API to import data from Vimeo into Google Sheets. In this tutorial, we’ll show you how to connect the Vimeo REST API to Google Sheets in 6 steps:
Apipheny is a free API connector for Google Sheets. You can use Apipheny to connect your Google Sheets to API data sources, easily.
1.) Install Apipheny by opening the following link on desktop and then clicking the Install button in the Google Marketplace: https://apipheny.io/install
2.) After you’ve installed Apipheny, open a Google Sheet and then click on the Extensions dropdown in the menu at the top.
In the dropdown list you should see Apipheny. Click Apipheny then click Import API to open the Apipheny sidebar in your Google Sheet.
Tip: you can open a new Google Sheet by entering this URL in your browser: sheet.new
After logging into your Vimeo developer account, go to https://developer.vimeo.com/apps and click the Create an app link:
After completing all the fields, check the terms and conditions checkbox and then click the Create App button:
Your app has been created:
In your app settings, scroll down until you see the Authentication section. Check the Authenticated checkbox and the scopes you want, then click the Generate button:
Your token is now generated. Copy it to a safe location because you’ll need it later:
In this section, we’ll show you how to browse the Vimeo API documentation to find the endpoint URL that retrieves the information you need from your Vimeo account.
If you already know your API URL, or you want to use the same example URL as us, just skip to Step 5.
To choose an endpoint, first open the Vimeo API documentation page: https://developer.vimeo.com/api/reference
The menu on the left contains general information about the Vimeo API and a section called API Reference:
If we expand the API Reference section, a list of categories for Vimeo API endpoints will be displayed:
If we click the Tags category, a list with its endpoints will be displayed. In this case we have only one endpoint, Get a tag:
If we click the + button, next to the endpoint’s name, then a page with the endpoint’s description will be displayed.
Get a tag endpoint returns the specified tag:
https://api.vimeo.com/tags/{word}
Don’t forget to replace {word} with an actual word.
The documentation for this endpoint contains its HTTP method and URL path, a short description of the endpoint’s purpose, the required and optional parameters, the cURL command and an example response:
All API calls to the Vimeo should be made using the https://api.vimeo.com/ base domain. All endpoints and parameters would be appended to this base domain.
Now go back to your Google Sheet and make sure that the Apipheny add-on is open, on the Import tab.
In the Import Tab, enter these details into the add-on:
Method: At the top of the Apipheny sidebar, select the HTTP method (GET, POST, PUT, PATCH or DELETE) required by your API endpoint. For this example, we are using the GET method.
API URL: In Step 4, we explained how you can find the Vimeo API endpoint that you need. Now copy the complete URL into the Apipheny add-on, where it says API URL Path, followed by any GET parameters required for your query.
For this example, we are using the Get all the videos that the user has uploaded endpoint, which returns all the videos that the authenticated user has uploaded. The URL for this API endpoint is:
https://api.vimeo.com/me/videos
Headers: In the Headers section of the Apipheny add-on, add one row with the following key and value:
Key: Authorization Value: Bearer token
When entering the Header Value, replace token with the value of your generated token from above.
Here’s what your Vimeo API request should look like when entered into Apipheny, if you’re following the same example as us:
The last step is to click the Run button at the bottom of the Apipheny add-on and then your Vimeo data will be imported into your Google Sheet.
Schedule requests for automatic updates
Reference cell values in requests
Stack multiple URLs in a single request
Crypto API Tutorials: