There are places with examples, with JSBin the largest set, and Plunker the newest. Each example snippet is meant to be as simple as possible to show a particular use case.
All examples use OAuth. Use your own sandbox account, or one of the following playground accounts. Password is
Running github examples locally
First register for a free developer account], then register for an OAuth client-side (Implicit) application providing a local redirect URL such as
http://localhost:7000. See more info at https://circuit.github.io/
Then clone the repo and serve the files using a webserver such as http-server:
git clone https://github.com/circuit/circuit-sdk.git cd circuit-sdk npm i -g http-server http-server -p 7000 // browse to http://localhost:7000/examples/js