The Stash Playground is a collection of useable code examples for our SDKs and APIs. You can use the examples to get a better understanding of Stash, or to jumpstart an integration.
Explore Stash's docs »
View a demo
·
Report an issue or make a request
·
Stash website
·
LinkedIn
Important
This repo is currently being built out.
This repo contains various framework examples you can use with Stash. There are frontend, backend, and game SDK examples. Stash regularly adds to and updates this repo. If you have any issues with a code example, or want to see other examples, please let us know.
We have a prioritized set of frameworks that we've created examples for. It's difficult maintaining examples for every framework, so we've narrowed the scope so that we can provide quality examples for popular frameworks. If you think there's something critical missing from these examples, let us know and we'll look into adding it.
Start by cloning the repo git clone https://github.com/stashgg/stash-playground.git
and picking a set of examples you're interested in. Within each section is a ReadMe with instructions. It contains general information about the examples, prerequisites, etc.
Stash provides Unity and Unreal SDKs for working with our APIs. This means you can build Stash functionality into the same project you build your game in.
Some Stash integrations require you to build APIs into your backend. These are often used to notify Stash so that we can charge a player, or for you to grant players purchased products. The backend examples cover different frameworks for building these APIs and integrating with Stash. It's possible you have related logic in place already.
These examples illustrate how to use different frontend frameworks with Stash's APIs. This includes creating checkout links, linking player accounts, and more.
Distributed under the MIT License. See LICENSE.txt
for more information.