Shard Detail

api42 v0.1.0

42 API wrapper

Install & Use

Add the following code to your project's shard.yml under:

dependencies to use in production
- OR -
development_dependencies to use in development


api42:
  github: aabajyan/api42.cr

Readme

api42

42 API wrapper

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      api42:
        github: aabajyan/api42.cr
    
  2. Run shards install

Usage

require "api42"

client = Api42::Client.new(
  YOUR_APP_ID,
  YOUR_SECRET_ID
)

user = client.user("your_username")
puts "Full Name: #{user.first_name} #{user.last_name}"

TODO: Write usage instructions here

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/aabajyan/api42.cr/fork)
  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)
  5. Create a new Pull Request

Contributors