{"id":25645789,"url":"https://github.com/detaysoft/vcardparser","last_synced_at":"2025-04-15T11:38:26.151Z","repository":{"id":200382352,"uuid":"705678894","full_name":"Detaysoft/VCardParser","owner":"Detaysoft","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-29T11:25:49.000Z","size":31,"stargazers_count":24,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-26T04:45:38.497Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Detaysoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-16T13:38:39.000Z","updated_at":"2024-11-04T08:47:38.000Z","dependencies_parsed_at":"2024-05-16T15:31:34.756Z","dependency_job_id":"a8a249d1-783a-46cc-8bfb-97351bf372e0","html_url":"https://github.com/Detaysoft/VCardParser","commit_stats":null,"previous_names":["detaysoft/vcardparser"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Detaysoft%2FVCardParser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Detaysoft%2FVCardParser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Detaysoft%2FVCardParser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Detaysoft%2FVCardParser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Detaysoft","download_url":"https://codeload.github.com/Detaysoft/VCardParser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249061962,"owners_count":21206597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-23T09:19:28.247Z","updated_at":"2025-04-15T11:38:26.126Z","avatar_url":"https://github.com/Detaysoft.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VCardParser\n\nYou can perform VCard decode and encode operations by using the contact class in the project.\n\nThe nuget packages is available [here](https://www.nuget.org/packages/VCardParser)\n## How to use\n\n* NuGet Command: **Install-Package VCardParser**\n\n* Example\n```C#\nusing VCardParser.Helpers;\nusing VCardParser.Models;\n\nContact contact = new Contact\n{\n    FirstName = \"FirstName\",\n    LastName = \"LastName\",\n    FormattedName = \"FirstName LastName\",\n    Organization = \"Company\",\n    OrganizationPosition = \"Team\",\n    Title = \"Title\",\n    Photo = \"base64foto\",\n    Emails = new List\u003cEMail\u003e\n    {\n        new EMail\n        {\n            Address = \"email@mail.com\",\n            Type = \"Home\"\n        },\n        new EMail\n        {\n            Address = \"email2@mail.com\",\n            Type = \"Company\"\n        },\n    },\n    Phones = new List\u003cPhone\u003e\n    {\n        new Phone\n        {\n            Number = \"01111111111\",\n            Type = \"Cell\"\n        },\n        new Phone\n        {\n            Number = \"+902222222222\",\n            Type = \"Company\"\n        },\n    }\n};\n\n// encode contact model for creating vcard file\nvar encodedVCard = contact.EncodeVCard();\n\nConsole.WriteLine(encodedVCard);\n// exporting vcf file\nFile.WriteAllText(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, \"filename.vcf\"), encodedVCard);\n\n// decode vcard file from vcf file to contact model\nencodedVCard.DecodeVCard();\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdetaysoft%2Fvcardparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdetaysoft%2Fvcardparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdetaysoft%2Fvcardparser/lists"}