In order to sync data to the Genealogies system, use the following process:
- Obtain access token for the user.
- Create a new Genealogies Tree.
- Add data to the Genealogies Tree.
- Update persons and relationships.
- Get the matches.
Prompt: "Rewrite this document as the script of John Wayne movie with John Wayne as William Foulks." | |
Title: Vengeance on Mould Street | |
INT. FLINT COUNTY COURTROOM - DAY | |
A somber atmosphere fills the courtroom as JUSTICE WHITMORE, a stern middle-aged man, presides over the witness stand. GABRIEL JONES, a rugged yeoman, stands to testify about the tragic events that occurred in Mould. | |
JUSTICE WHITMORE | |
Mr. Jones, please recount the events concerning the death of Ann Foulks, wife of William Foulks of Mould, who is believed to have been killed by John Roberts of Garth Gammon. |
// Modified from sample code provided by Auth0 | |
// https://auth0.com/docs/flows/call-your-api-using-the-authorization-code-flow-with-pkce#javascript-sample | |
// Run with `node create_challenge.js` | |
const crypto = require('crypto'); | |
function base64URLEncode(str) { | |
return str.toString('base64') | |
.replace(/\+/g, '-') |
{ | |
"childAndParentsRelationships": [ | |
{ | |
"id": "MTKG-DBV", | |
"father": { | |
"resource": "https://api.familysearch.org/platform/tree/persons/L2YM-NBS", | |
"resourceId": "L2YM-NBS" | |
}, | |
"mother": { | |
"resource": "https://api.familysearch.org/platform/tree/persons/L2YM-ND7", |
"childAndParentsRelationships": [ | |
{ | |
"id": "MTKG-DBV", | |
"father": { | |
"resource": "#L2YM-NBS", | |
"resourceId": "L2YM-NBS" | |
}, | |
"mother": { | |
"resource": "#L2YM-ND7", | |
"resourceId": "L2YM-ND7" |
"nameForms": [ | |
{ | |
"lang": "ko-Hang", | |
"fullText": "철 하늘별님구름햇님보다사랑스러우리", | |
"parts": [ | |
{ | |
"type": "http://gedcomx.org/Surname", | |
"value": "철" | |
}, | |
{ |
"nameForms": [ | |
{ | |
"lang": "ko-Hang", | |
"fullText": "건 하늘별님구름햇님보다사랑스러우리", | |
"parts": [ | |
{ | |
"type": "http://gedcomx.org/Surname", | |
"value": "건" | |
}, | |
{ |
# frozen_string_literal: true | |
source "https://rubygems.org" | |
# gem "rails" | |
gem 'sinatra', '~> 1.4', '>= 1.4.7' | |
gem 'omniauth-familysearch' |
<?php | |
require __DIR__ . '/../../vendor/autoload.php'; | |
include 'functions.php'; | |
use Gedcomx\Extensions\FamilySearch\Rs\Client\FamilySearchClient; | |
use Monolog\Logger; | |
use Monolog\Handler\StreamHandler; | |
session_start(); |