Pexels-API
This page contains the setup guide and reference information for the Pexels-API source connector.
Prerequisites
Api key is mandate for this connector to work, It could be generated by a gmail account for free at https://www.pexels.com/api/new/. Just pass the generated API key and optional parameters for establishing the connection.
Setup guide
Step 1: Set up Pexels-API connection
- Generate an API key (Example: 12345)
- Params (If specific info is needed)
- Available params
- query: Ocean, Tigers, Pears, etc. Default is people
- orientation: landscape, portrait or square. Default is landscape
- size: large, medium, small. Default is large
- color: red, orange, yellow, green, turquoise, blue, violet, pink, brown, black, gray, white or any hexidecimal color code.
- locale: en-US, pt-BR, es-ES, ca-ES, de-DE, it-IT, fr-FR, sv-SE, id-ID, pl-PL, ja-JP, zh-TW, zh-CN, ko-KR, th-TH, nl-NL, hu-HU, vi-VN, cs-CZ, da-DK, fi-FI, uk-UA, el-GR, ro-RO, nb-NO, sk-SK, tr-TR, ru-RU. Default is en-US
Step 2: Set up the Pexels-APIs connector in Airbyte
For Airbyte Cloud:
- Log into your Airbyte Cloud account.
- In the left navigation bar, click Sources. In the top-right corner, click +new source.
- On the Set up the source page, enter the name for the Pexels-API connector and select Pexels-API from the Source type dropdown.
- Enter your
api_key
. - Enter the params configuration if needed. Supported params are: query, orientation, size, color, locale, collection_id
video_id, photo_id - Click Set up source.
For Airbyte OSS:
- Navigate to the Airbyte Open Source dashboard.
- Set the name for your source.
- Enter your
api_key
. - Enter the params configuration if needed. Supported params are: query, orientation, size, color, locale, collection_id
video_id, photo_id - Click Set up source.
Supported sync modes
The Pexels-API source connector supports the following sync modes:
Feature | Supported? |
---|---|
Full Refresh Sync | Yes |
Incremental Sync | No |
Replicate Incremental Deletes | No |
SSL connection | Yes |
Namespaces | No |
Supported Streams
- photos_search
- photos_curated
- videos_search
- videos_popular
- collection_featured
API method example
GET https://api.pexels.com/v1/curated?per_page=1
Performance considerations
Pexels-API's [API reference]https://www.pexels.com/api/documentation) has v1 at present and v2 is at development. The connector as default uses v1.
Changelog
Expand to review
Version | Date | Pull Request | Subject |
---|---|---|---|
0.2.3 | 2024-12-12 | 49324 | Update dependencies |
0.2.2 | 2024-12-11 | 47678 | Starting with this version, the Docker image is now rootless. Please note that this and future versions will not be compatible with Airbyte versions earlier than 0.64 |
0.2.1 | 2024-08-16 | 44196 | Bump source-declarative-manifest version |
0.2.0 | 2024-08-15 | 44097 | Refactor connector to manifest-only format |
0.1.14 | 2024-08-12 | 43817 | Update dependencies |
0.1.13 | 2024-08-03 | 43057 | Update dependencies |
0.1.12 | 2024-07-27 | 42767 | Update dependencies |
0.1.11 | 2024-07-20 | 42204 | Update dependencies |
0.1.10 | 2024-07-15 | 38930 | Make compatible with builder |
0.1.9 | 2024-07-13 | 41932 | Update dependencies |
0.1.8 | 2024-07-10 | 41349 | Update dependencies |
0.1.7 | 2024-07-09 | 41077 | Update dependencies |
0.1.6 | 2024-07-06 | 40946 | Update dependencies |
0.1.5 | 2024-06-25 | 40490 | Update dependencies |
0.1.4 | 2024-06-22 | 39971 | Update dependencies |
0.1.3 | 2024-06-06 | 39216 | [autopull] Upgrade base image to v1.2.2 |
0.1.2 | 2024-05-21 | 38458 | [autopull] base image + poetry + up_to_date |
0.1.1 | 2024-05-21 | 38458 | [autopull] base image + poetry + up_to_date |
0.1.0 | 2022-11-02 | Init | Initial commit |