Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alpacatravel/graph-sdk
JavaScript SDKs for interacting with the Alpaca GraphQL API via JavaScript/Typescript
https://github.com/alpacatravel/graph-sdk
graphql travel
Last synced: 2 months ago
JSON representation
JavaScript SDKs for interacting with the Alpaca GraphQL API via JavaScript/Typescript
- Host: GitHub
- URL: https://github.com/alpacatravel/graph-sdk
- Owner: AlpacaTravel
- License: mit
- Created: 2020-04-28T21:39:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-31T02:38:30.000Z (almost 2 years ago)
- Last Synced: 2024-04-26T05:07:24.009Z (8 months ago)
- Topics: graphql, travel
- Language: HTML
- Homepage: https://www.alpaca.travel/
- Size: 13.9 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
## Alpaca Travel GraphQL JavaScript SDK
> [Alpaca Travel](https://alpaca.travel) offers an SDK to assist developers with
> building travel applications and websites. The SDK provides some 'out of the
> box' functionality that can accelerate the adoption of developers without
> involving making GraphQL calls themselves.Alpaca Travel offer an extensive managed GraphQL API that developers can easily
integrate into their applications and websites. The JavaScript SDK provides a
onboarding approach for developers that may want to leverage a simple SDK
oppposed to developing their own queries and mutations with GraphQL directly.Our SDK's are based on Typescript and setup to work on basic GraphQL based
queries and mutations. We offer several versions of client in order to suit
preferences of developers.- [Alpaca GraphQL API Documentation](https://github.com/AlpacaTravel/graphql-docs)
### Capabilites of SDK
The SDK offers a set of basic capabilities for working with common use cases,
such as creating and editing itineraries or displaying collections of places.The SDK leverages a series of [GraphQL documents](/graphql) that are built based
on the
[Alpaca GraphQL Documentation](https://github.com/AlpacaTravel/graphql-docs).The SDK leverages the Alpaca GraphQL API which operates as a SaaS platform,
offering all required services such as place provider integration, route and
directions services as well as the data management.### SDK Client Options
GraphQL is not opinionated with the client you want to use, and as such, Alpaca
have provided a number of SDK options to suit the common development platforms
developers use.| GraphQL Client | |
| --------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| [fetch](packages/fetch) | Basic fetch SDK for minimal dependency execution in browser |
| [graphql-request](packages/graphql-request) | Minimal GraphQL client supporting Node and browsers for scripts or simple apps |
| [react-apollo](packages/react-apollo) (recommended) | Full featured GraphQL development client including powerful caching and state management for React |
| [react-query](packages/react-query) | SDK driven by performant and powerful data synchronization for react |
| [react-urql](packages/react-urql) | A versatile GraphQL client for developing with React/Preact, Vue or Svelte |
| [vue-apollo](packages/vue-apollo) | Full featured GraphQL development client including powerful caching and state management for Vue |
| [stencil-apollo](packages/stencil-apollo) | Full featured GraphQL development client including powerful caching and state management for Stencil |#### Using Something Else?
Let us know what your preferences are and we will see if we are able to support
any other alternatives.It is also possible to setup any supporting GraphQL client and copy the
[Alpaca SDK GraphQL Documents](/graphql) and leverage these in your
implementation.### Licensing and Support
These libraries are licensed under MIT and are community supported.
## Legal Statement
Copyright © 2020-2022 Alpaca Travel. All right reserved.