An open API service indexing awesome lists of open source software.

https://github.com/axvm/ghkeys

GitHub Keys
https://github.com/axvm/ghkeys

Last synced: about 2 months ago
JSON representation

GitHub Keys

Awesome Lists containing this project

README

          

# GHKeys - GitHub Keys

GitHub Keys gem allows you to fetch users keys in the simplest way. It uses web scraping because of GH API limits.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'ghkeys'
```

And then execute:

$ bundle

Or install it yourself as:

$ gem install ghkeys

## Usage

```ruby
require 'ghkeys'

GHKeys('axvm')
=> #array of strings
```

Each key will be wrapped into SSHKey class. It gives you ability to calculate md5\sha1\sha256 fingerprints. If key is corrupted or invalid, `IncorrectOrCorruptedKey` exception will be raised.

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/axvm/ghkeys.