From: Benny M. <ben...@gm...> - 2011-05-26 12:50:19
|
It would be interesting to do a quick try person gramplet. See example code on their site. You need a login with familysearch obviously to do that, I don't have it. It also seems to login we need a developer_key, should you be able to know what that means for Gramps, let us know. Login is easy: fs = FamilySearch('ClientApp/1.0', 'developer_key', 'username', 'password') So the configuration of the Gramplet should allow the user to set username and password. We would have to store that in a safe way, so that password cannot be exposed by reading the ini file! Next, for info on a person: person = fs.person('ABCD-123') We would need to know from people if the FS key of a person would be the Gramps ID or would be something best stored in the attributes. Finally, for a general search gramplet: results = fs.search(givenName='John', familyName='Smith', gender='Male', maxResults=10) It seems results are given as dictionary objects, but I don't find a description of the different keys you might obtain from the FSdatabase. If somebody tries this, it would be nice to post here how such a dictionary looks like, I'm interested in knowing if they store much more than we do or not. Benny 2011/5/26 Benny Malengier <ben...@gm...> > Greg, > > Could you carefully read the licence: > > > http://devnet.familysearch.org/certification/affiliate-programs/familysearch-legal-agreements/APILicense.pdf > > And give us a human readable form of it? > > The main things we need to know: > > 1/It seems we may use the API to query the FSdatabases, may we overload it > in a Gramps family tree or should the user type things over > > 2/What is the required Logo use? Do we have to show some affiliation > > 3/Who owns the data a user uploads from Gramps in the FSdatabases? > > Benny > > > 2011/5/25 Greg Lamberson <lam...@ya...> > >> Regarding the below-mentioned webinar, the following time/date information >> has been appended: >> >> June 2nd 3:00PM Mountain Time >> FamilySearch Python API Library Training >> >> Greg Lamberson >> lam...@ya... >> >> ------------------------------ >> *From:* Greg Lamberson <lam...@ya...> >> *To:* "gra...@li..." < >> gra...@li...> >> *Sent:* Wednesday, May 25, 2011 10:14 AM >> *Subject:* [Gramps-devel] Fw: [FSDN] FamilySearch Python API Library >> Training Webinar >> >> Hi guys, >> >> Even if you have reservations about FamilySearch, this would still seem a >> very good things to at least participate in... >> >> Greg Lamberson >> lam...@ya... >> >> ----- Forwarded Message ----- >> *From:* Gordon Clarke <ClarkeGJ@FAMILYSEARCH.ORG> >> *To:* FSDN@LISTS.LDS.ORG >> *Sent:* Wednesday, May 25, 2011 9:53 AM >> *Subject:* [FSDN] FamilySearch Python API Library Training Webinar >> >> RSVP by sending email to Ll...@fa... Indicate participating >> online or in person >> >> Event will be held at the Joseph Smith Memorial Building 4th Floor Lobby, >> West Conference Room >> >> AGENDA: >> >> Introduction to Python >> Dynamic high-level language >> Object-oriented >> Duck typing >> Powerful introspection >> Interactive interpreter >> Indentation >> Built-in data types >> Extensive standard library >> >> python-fs-stack Features >> Basic Authentication >> OAuth Authentication >> Family Tree Read Support >> Family Tree Write Support >> >> Getting Started >> Get source >> pip install python-fs-stack >> easy_install python-fs-stack >> git clone >> https://github.com/familysearch-devnet/python-fs-stack >> python setup.py install >> Join DevNet >> https://devnet.familysearch.org/ >> Get Reference System account >> Start developing! >> >> Roadmap >> Automatic batching >> Improve performance >> Persistent HTTP connections >> Improve documentation >> Test suite >> Improve error handling >> Integrate Enunciate >> >> Getting Involved >> Follow/fork on GitHub >> https://github.com/familysearch-devnet/ >> python-fs-stack >> Report bugs >> Submit patches/pull requests >> Let use know about use cases >> Questions >> >> >> --------------------------------------- >> To join the web portion of the meeting click on: >> http://ldschurch1.na3.acrobat.com/intermediate/ >> >> >> >> >> I you have never attended a Connect Pro meeting before: >> Test your connection: >> http://ldschurch1.na3.acrobat.com/common/help/en/support/meeting_test.htm >> Get a quick overview: http://www.adobe.com/go/connectpro_overview >> >> To join the audio portion of the meeting: >> 1. Call toll-free at 1-866-910-4857 >> 2. You will be asked for the "Passcode" and "#" key >> The Passcode is: 266040 >> You will be put into the audio portion of the meeting. >> ------------------------------------------------------------- >> Notes on phone controls for Ready Conference. >> Press *1 to hear a help menu >> Press *0 to reach an operator >> Press *6 to mute or "un-mute" line >> Press *4 to increase conference volume >> Press *7 to decrease conference volume >> Press *5 to increase your voice volume >> Press *8 to decrease your voice volume >> >> >> >> >> >> >> >> >> >> >> >> >> >> ----------------------------------------------- This message was sent by >> the FSDN Mailing List. >> To unsubscribe, send an email to lis...@li... with "SIGNOFF >> FSDN" in the message body. >> >> >> >> >> ------------------------------------------------------------------------------ >> vRanger cuts backup time in half-while increasing security. >> With the market-leading solution for virtual backup and recovery, >> you get blazing-fast, flexible, and affordable data protection. >> Download your free trial now. >> http://p.sf.net/sfu/quest-d2dcopy1 >> _______________________________________________ >> Gramps-devel mailing list >> Gra...@li... >> https://lists.sourceforge.net/lists/listinfo/gramps-devel >> >> >> >> >> ------------------------------------------------------------------------------ >> vRanger cuts backup time in half-while increasing security. >> With the market-leading solution for virtual backup and recovery, >> you get blazing-fast, flexible, and affordable data protection. >> Download your free trial now. >> http://p.sf.net/sfu/quest-d2dcopy1 >> _______________________________________________ >> Gramps-devel mailing list >> Gra...@li... >> https://lists.sourceforge.net/lists/listinfo/gramps-devel >> >> > |