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.
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 that are built based on the Alpaca GraphQL Documentation.
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.
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 | Basic fetch SDK for minimal dependency execution in browser |
graphql-request | Minimal GraphQL client supporting Node and browsers for scripts or simple apps |
react-apollo (recommended) | Full featured GraphQL development client including powerful caching and state management for React |
react-query | SDK driven by performant and powerful data synchronization for react |
react-urql | A versatile GraphQL client for developing with React/Preact, Vue or Svelte |
vue-apollo | Full featured GraphQL development client including powerful caching and state management for Vue |
stencil-apollo | Full featured GraphQL development client including powerful caching and state management for Stencil |
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 and leverage these in your implementation.
These libraries are licensed under MIT and are community supported.
Copyright © 2020-2022 Alpaca Travel. All right reserved.