A library for building crystal applications that utilise PlaceOS.
-
Add the dependency to your
shard.yml
:dependencies: placeos: github: placeos/crystal-client version: ~> 1.0
-
Run
shards install
When initialialized via the host environment, the key PLACE_URI
is expected.
-
from environment
require "placeos" # Extracts user credentials from the following environment keys... # - PLACE_URI # - PLACE_EMAIL # - PLACE_PASSWORD # - PLACE_AUTH_CLIENT_ID # - PLACE_AUTH_SECRET client = PlaceOS::Client.from_environment_user
Run crystal spec
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Kim Burgess - creator and maintainer
- Caspian Baska - contributor and maintainer