Skip to content

Instantly share code, notes, and snippets.

@jimmyz
Created March 5, 2009 03:34
Show Gist options
  • Select an option

  • Save jimmyz/74169 to your computer and use it in GitHub Desktop.

Select an option

Save jimmyz/74169 to your computer and use it in GitHub Desktop.
Mock up of what the API may look like
require 'fs-communicator'
require 'fs-identity-v1'
require 'fs-familytree-v1'
require 'fs-reservation-v1'
require 'fs-recordsearch-v1'
com = FsCommunicator.new :domain => 'https://api.familysearch.org', 'WCXY-BBPN-0TU53-X', "Application/0.1"
com.identity_v1.login 'username','password'
response = com.familytree_v1.person 'KWQS', :params => 'values'
response = com.familytree_v2.person ['KWQS','9652'], :hash => 'option', :other => 'option'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment