1
0
mirror of synced 2026-01-05 21:02:13 -05:00
Files
airbyte/docs/integrations/sources/spacex-api.md
Balasubramanian T K 838aebe322 🎉 New Source: SpaceX API [low-code cdk] (#18311)
* Init: New Source: SpaceX API

* Chore: Removed duplicate and unwanted files

* fix: Reconfigured schema and matched the read records. chore: Acceptance test run and results passed without errors

* chore: Added documentation, updated airbyte docs specific to the connector

* fix conflict

* Chore: delete unwanted files

* chore: Created bootstrap.md

* chore: Update doc url, removed unwanted files

* fix: Fixed schema after crosscheck with several schema validators

* fix: resolved .vscode setting conflict, resolved merge conflict

* feat: Added support for all endpoints

* chore: updated documentation

* feat: changes to stream path to accept options and id

* fix: Resolve coomments

* chore: resolved comments

* chore: Delete unwanted files

* chore: Update Readme.md after resolving merge conflict

* update connector

* add spacex api to source def

* run format

* add schemaloader

* auto-bump connector version

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-03 22:14:39 -03:00

76 lines
2.4 KiB
Markdown

# SpaceX-API
This page contains the setup guide and reference information for the [SpaceX-API](https://github.com/r-spacex/SpaceX-API) source connector.
## Prerequisites
No prerequisites, but a dummy api_key is required as it enhances security in future build. Please check the available routes at [SpaceX Routes](https://github.com/r-spacex/SpaceX-API/tree/master/routes).
## Setup guide
### Step 1: Set up SpaceX connection
- Have a dummy API key (Example: 12345)
- A specific id (If specific info is needed)
## Step 2: Set up the SpaceX-API connector in Airbyte
### For Airbyte Cloud:
1. [Log into your Airbyte Cloud](https://cloud.airbyte.io/workspaces) account.
2. In the left navigation bar, click **Sources**. In the top-right corner, click **+new source**.
3. On the Set up the source page, enter the name for the SpaceX-API connector and select **Spacex-API** from the Source type dropdown.
4. Enter your `api_key`.
5. Enter your `id` if needed. (Optional)
6. Click **Set up source**.
### For Airbyte OSS:
1. Navigate to the Airbyte Open Source dashboard.
2. Set the name for your source.
3. Enter your `api_key`.
5. Enter your `id` if needed. (Optional)
6. Click **Set up source**.
## Supported sync modes
The SpaceX-API source connector supports the following [sync modes](https://docs.airbyte.com/cloud/core-concepts#connection-sync-modes):
| Feature | Supported? |
| :---------------------------- | :--------- |
| Full Refresh Sync | Yes |
| Incremental Sync | No |
| Replicate Incremental Deletes | No |
| SSL connection | Yes |
| Namespaces | No |
## Supported Streams
- Launches
- Capsules
- Company
- Crew
- Cores
- Dragons
- History
- Landpads
- Payloads
- Roadster
- Rockets
- Ships
- Starlink
## API method example
GET https://api.spacexdata.com/v5/launches/latest
## Performance considerations
SpaceX's [API reference](https://api.spacexdata.com/v5/) has both v4 an v5 for launches. The connector as default uses V4 as it has minimal bugs.
## Changelog
| Version | Date | Pull Request | Subject |
| :------ | :--------- | :----------------------------------------------------- | :------------- |
| 0.1.0 | 2022-10-22 | [Init](https://github.com/airbytehq/airbyte/pull/18311) | Initial commit |