= NistBib: retrieve NIST Standards for bibliographic use using the BibliographicItem model image:https://img.shields.io/gem/v/nistbib.svg["Gem Version", link="https://rubygems.org/gems/nistbib"] image:https://img.shields.io/travis/metanorma/nistbib/master.svg["Build Status", link="https://travis-ci.com/metanorma/nistbib"] image:https://ci.appveyor.com/api/projects/status/vk85u3df4f3kertr?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/ribose/nistbib"] image:https://codeclimate.com/github/metanorma/nistbib/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/nistbib"] NistBib is a Ruby gem that implements the https://github.com/metanorma/metanorma-model-iso#iso-bibliographic-item[IsoBibliographicItem model]. You can use it to retrieve metadata of NIST Standards from https://csrc.nist.gov, and access such metadata through the `IsoBibliographicItem` object. == Installation Add this line to your application's Gemfile: [source,ruby] ---- gem 'nistbib' ---- And then execute: $ bundle Or install it yourself as: $ gem install nistbib == Usage === Search for a standard using keywords [source,ruby] ---- require 'nistbib' hit_collection = NistBib::NistBibliography.search("8200") => [, ] item = hit_collection[1].fetch => # " 2019-05-03 Interagency Report on Status of International Cybersecurity Standardization for the Internet of Things (IoT) ... " ---- === Get code, and year [source,ruby] ---- NistBib::NistBibliography.get("8200", "2018", {}) fetching 8200... => # #