Sha256: 7e3e32f6b5a85184c6b54ba5c028283edff67b658adaed73f178e22a84ef0e2f
Contents?: true
Size: 1.8 KB
Versions: 2
Compression:
Stored size: 1.8 KB
Contents
# Cik A Central Index Key or CIK number is a number given to an individual or company by the [United States Securities and Exchange Commission (SEC)](http://www.sec.gov). The number is used to identify the filings of a company in the [EDGAR database](http://www.sec.gov/edgar/searchedgar/companysearch.html). This gem allows to look up the EDGAR database by symbol to get the company CIK. ## Installation Add this line to your application's Gemfile: gem 'cik' And then execute: $ bundle Or install it yourself as: $ gem install cik ## Usage Usage is pretty simple: ```ruby Cik.lookup('CSCO') ``` The response is a Hash with this format: ```ruby { :cik => "0000858877", :name => "CISCO SYSTEMS, INC.", :sic => "3576" } ``` | Key | Description | | ----------| ----------- | | cik | CIK number | | name | Entity name | | sic | SIC (Standard Industrial Classification) code | ## Contributing 1. Fork it ( http://github.com/javiervidal/cik/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 new Pull Request ## Code Status [](http://badge.fury.io/rb/cik) [](https://travis-ci.org/javiervidal/cik) [](https://coveralls.io/r/javiervidal/cik?branch=master) [](https://codeclimate.com/github/javiervidal/cik) ## Copyright Copyright (c) 2014 – ∞ Javier Vidal ## License This gem is released under the [MIT License](http://opensource.org/licenses/MIT).
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cik-1.0.1 | README.md |
cik-1.0.0 | README.md |