Developers
Menu

Try out your app on streetartdev.com, without adding anything to the live website.

While you're building your app, test it on streetartdev.com. It works just like Street Art Cities, but has its own separate data. Anything you add or change there doesn't show up on the live website.

Please don't test on the live website

Everything you do on streetartcities.com is seen by real people. Test artworks, edits and collections show up in the activity feed and the review queue, where our community has to spend time cleaning them up.

We treat anything that looks like spam as spam. That can lead to a warning, and eventually to your account being blocked. So only point your app at the live website once it's ready to be used for real.

Getting started with the sandbox

The sandbox has its own accounts and apps, so you'll need to set things up there once:

  1. Create an account on streetartdev.com.
  2. Go to Settings → Developers and create an app, just like on the live website.
  3. Use streetartdev.com instead of streetartcities.com in every link in these docs. For example:
Live websiteSandbox
https://streetartcities.com/api/oauth/authorizehttps://streetartdev.com/api/oauth/authorize
https://streetartcities.com/api/oauth/tokenhttps://streetartdev.com/api/oauth/token
https://streetartcities.com/api/editshttps://streetartdev.com/api/edits
https://streetartcities.com/api/collectionshttps://streetartdev.com/api/collections
Make the domain a setting

Keep the domain in one place in your app, like an environment variable. Then switching from the sandbox to the live website is a one-line change. Our demo app does this with SAC_BASE_URL.

Going live

When your app is ready, create an app on streetartcities.com as well. It gets a new client ID and client secret: the ones from the sandbox don't work on the live website, and the other way around.