crystal-client v2.11.8
PlaceOS Crystal SDK
A library for building crystal applications that utilise PlaceOS.
Installation
-
Add the dependency to your
shard.yml
:dependencies: placeos: github: placeos/crystal-client version: ~> 1.0
-
Run
shards install
Usage
When initialialized via the host environment, the key PLACE_URI
is expected.
Authentication
-
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
Development
Run crystal spec
Contributing
- 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
Contributors
- Kim Burgess - creator and maintainer
- Caspian Baska - contributor and maintainer
Repository
crystal-client
Owner
Statistic
- 0
- 9
- 1
- 6
- 3
- about 1 month ago
- March 24, 2020
License
MIT License
Links
Synced at
Sat, 21 Dec 2024 14:39:39 GMT
Languages