Skip to content

no-reply/Ruby-EZID

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EZID API

Build Status

https://rubygems.org/gems/ezid

This API is part of work to integrate EZID into the OregonDigital Hydra DAMS system in development. It is currently in use for development on that system; we don't recommend it for production use at this time.

session = Ezid::ApiSession.new
# mint an id with the test account
i = session.mint()
i.identifier # =>  "ark:/99999/fk4058n1x"

# or specify your own id
i = session.create('monkey')
i.identifier # =>  "ark:/99999/fk4monkey"

The ApiSession object will also accept a username, password, identifer scheme and naa like this: Ezid::ApiSession.new('username', 'password', :doi, '12345')

License

cc0

About

Ruby EZID API Client

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages