- Availability
- Airbyte Cloud Airbyte OSS
- Support Level
- Community
- Latest Version
- 0.1.0
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
Version | Date | Pull Request | Subject |
---|---|---|---|
0.1.0 | 2022-11-02 | Init | Initial commit |