RubyGems Navigation menu

RedcapAPI 0.0.2

This gem is still under active development. Please contact me directly with any questions or suggestions. To start: r = RedcapAPI.new(token, url) # your institution has it's own url, and each project has it's own token r.get(optional record_id) # returns all records in JSON format or a specific record if specified r.get_fields # returns all fields for that instrument r.post(data) # this will either update an old record or create a new one. the data should be in form of array of hashes or as a hash (for one item). dates are accepted in Date class or in strftime('%F') format.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.0.6 - June 18, 2015 (9.5 KB)
  2. 0.0.6a - June 18, 2015 (9 KB)
  3. 0.0.5 - July 13, 2014 (7 KB)
  4. 0.0.5b - July 13, 2014 (7.5 KB)
  5. 0.0.5a - July 13, 2014 (7.5 KB)
  6. 0.0.2 - July 13, 2014 (7 KB)
Show all versions (9 total)

Development Dependencies (3):

bundler ~> 1.6
mechanize >= 0
rake >= 0

Owners:

Authors:

  • eugyev

SHA 256 checksum:

7e04f9b55ebe08f4aaf3bbec389d23ec03b00ee26e5a3bdda5096f3e113c92b3

Total downloads 21,003

For this version 2,275

License:

MIT

Required Ruby Version: >= 0

Links: