oscar

(aws.cr) An Amazon Web Services client library written in Crystal

aws.cr (Oscar)

A pure Crystal AWS API client library.

🚧 This library is in a very early stage of development, and should not be used for production projects, yet. Until it reaches v0.1.x, its API will change in unexpected ways. Contributions and collboration would be greatly appreciated!

Installation

You can fetch a release for your machine and run that with

    oscar -h

To develop against the shard:

  1. Add the dependency to your shard.yml:

    dependencies:
      oscar:
        gitlab: bjjb/oscar
    
  2. Run shards install

Usage

From the command-line

oscar -h

In code

require "oscar/aws"
puts AWS.version
puts AWS.sts.get_caller_identity.access_key_id

# TODO: Write some examples!

Development

You'll need Crystal. Clone the repo, and run

    crystal spec

If that passes, write tests for the feature you want to develop, and hack away.

You can run your latest version with, for example,

    shards run -- --version

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature -o merge_request.create -o merge_request.target_project=bjjb/oscar)

Contributors

  • bjjb - creator and maintainer
Repository

oscar

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • 9 months ago
  • February 22, 2024
License

MIT License

Links
Synced at

Fri, 22 Nov 2024 11:22:23 GMT

Languages