segno.helpers.make_vcard(Python)
官方文档是这么写的:
segno.helpers.make_vcard(name, displayname, email=None, phone=None, fax=None, videophone=None, memo=None, nickname=None, birthday=None, url=None, pobox=None, street=None, city=None, region=None, zipcode=None, country=None, org=None, lat=None, lng=None, source=None, rev=None, title=None, photo_uri=None, cellphone=None, homephone=None, workphone=None
)
具体文档解释如下:
name:(str) – The name. If it contains a semicolon, , the first part is treated as lastname and the second part is treated as forename.
displayname:(str) – Common name.
email:(str, iterable of strings, or None) – E-mail address. Multiple values are allowed.
phone:(str, iterable of strings, or None) – Phone number. Multiple values are allowed.
fax:(str, iterable of strings, or None) – Fax number. Multiple values are allowed.
videophone:(str, iterable of strings, or None) – Phone number for video calls. Multiple values are allowed.
memo:(str or None) – A notice for the contact.
nickname:(str or None) – Nickname.
birthday:(str, datetime.date or None) – Birthday. If a string is provided, it should encode the date as YYYY-MM-DD value.
url:(str, iterable of strings, or None) – Homepage. Multiple values are allowed.
pobox:(str or None) – P.O. box (address information).
street:(str or None) – Street address.
city:(str or None) – City (address information).
region:(str or None) – Region (address information).
zipcode:(str or None) – Zip code (address information).
country:(str or None) – Country (address information).
org:(str or None) – Company / organization name.
lat:(float or None) – Latitude.
lng:(float or None) – Longitude.
source:(str or None) – URL where to obtain the vCard.
rev:(str, datetime.date or None) – Revision of the vCard / last modification date.
title:(str, iterable of strings, or None) – Job Title. Multiple values are allowed.
photo_uri:(str, iterable of strings, or None) – Photo URI. Multiple values are allowed.
cellphone:(str, iterable of strings, or None) – Cell phone number. Multiple values are allowed.
homephone:(str, iterable of strings, or None) – Home phone number. Multiple values are allowed.
workphone:(str, iterable of strings, or None) – Work phone number. Multiple values are allowed.