API wrapper for Google Domain Shared Contacts [incomplete]
npm install google-dscgoogle-dsc
==========
API wrapper for Google Domain Shared Contacts [incomplete]
Warning
-------
This library is in active development and should not be considered stable or production ready.
Supported Fields
----------------
- updated
- name (gd:name?)
- given (gd:givenName?)
- family (gd:familyName?)
- full (given + family) (note: currently this is a read-only synthesized property independent of the XML representation)
- emails (gd:email*)
- email (gd:email)
- label (@rel? | @label?) (the hash on the @rel schema-url)
- address (@address?)
Behavior
--------
- Setting properties that do not exist in the XML representation will create them.
Example
-------
You can manipulate
``xml
address='liz@gmail.com' displayName='E. Bennet' />
(206)555-1212
(206)555-1213
primary='true'
rel='http://schemas.google.com/g/2005#home' />
primary='true'>
1600 Amphitheatre Pkwy Mountain View
`
as
` js``
{ updated: [Getter],
contacts:
[ { name:
{ full: [Getter],
given: [Getter/Setter],
family: [Getter/Setter] },
emails:
[ { label: [Getter/Setter],
address: [Getter/Setter] },
{ label: [Getter/Setter],
address: [Getter/Setter] } ] } ] }