1
0
mirror of synced 2026-01-03 06:02:23 -05:00
Files
airbyte/airbyte-integrations/connectors/source-pexels-api/bootstrap.md
btkcodedev db836b3b5a 🎉 New Source: Pexels API [low-code cdk] (#18854)
* New Source: Pexels API

* Resolved all comments

* feat: Added paginator, refactor: moved params to request options

* refactor: configured params, moved request option to referenced

* Corrected comments

* correct test and add pexels api to source def

* auto-bump connector version

Co-authored-by: btkcodedev <btk.codedev@gmail.com>
Co-authored-by: marcosmarxm <marcosmarxm@gmail.com>
Co-authored-by: Marcos Marx <marcosmarxm@users.noreply.github.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-11-29 17:43:17 -03:00

40 lines
1.6 KiB
Markdown

# Pexels-API
The connector uses the v1 API documented here: https://www.pexels.com/api/documentation . It is
straightforward HTTP REST API with API based authentication.
## API key
Api key is mandate for this connector to work, It could be generated by a free account at https://www.pexels.com/api/new/.
Just pass the generated API key and optional parameters for establishing the connection.
## Implementation details
## 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,<br> 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: Generate schema for the endpoint
### Custom schema is generated and tested with different IDs
## Step 3: Spec, Secrets, and connector yaml files are configured with reference to the Airbyte documentation.
## In a nutshell:
1. Navigate to the Airbyte Open Source dashboard.
2. Set the name for your source.
3. Enter your `api_key`.
5. Enter your config params if needed. (Optional)
6. Click **Set up source**.
* We use only GET methods, towards the API endpoints which is straightforward