|
1 | | -# Manage Emails in Cloud via Java REST SDK |
2 | 1 | [](https://repository.aspose.cloud/repo/com/aspose/aspose-email-cloud/) [](https://repository.aspose.cloud/repo/com/aspose/aspose-email-cloud/)  |
3 | 2 |
|
| 3 | +# Manage Emails in Cloud via Java REST SDK |
| 4 | + |
4 | 5 | [Aspose.Email Cloud SDK for Java](https://products.aspose.cloud/email/java) is a REST API SDK for creating email applications that work with standard email file formats such as Outlook MSG, EML, iCalendar files and VCard. |
5 | 6 |
|
6 | 7 | This SDK allows you to work with Aspose.Email Cloud REST APIs in your Java applications quickly and easily, with zero initial cost. |
@@ -63,16 +64,22 @@ To use the API, you should create an EmailCloud object: |
63 | 64 | ```java |
64 | 65 | EmailCloud api = new EmailCloud("Your Client secret", "Your Client id"); |
65 | 66 | ``` |
66 | | - |
67 | | -#### Business cards recognition API |
68 | | -Use `AiBcrApi.parse` method to parse business card image to VCard DTO: |
| 67 | +## Parse Business Card Image to VCard in Java |
69 | 68 |
|
70 | 69 | ```java |
71 | | -byte[] fileBytes = IOUtils.toByteArray(new FileInputStream("/tmp/alex.png")); |
72 | | -ContactList result = api.ai().bcr().parse(new AiBcrParseRequest( |
73 | | - fileBytes, null, null, true)); |
74 | | -ContactDto contact = result.getValue().get(0); |
75 | | -assert contact.getDisplayName().contains("Parsed Display Name"); |
| 70 | + // Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required). |
| 71 | + EmailCloud emailApi = new EmailCloud("MY_CLIENT_SECRET", "MY_CLIENT_ID"); |
| 72 | + |
| 73 | + byte[] fileBytes = IOUtils.toByteArray(new FileInputStream("D:/alex.png")); |
| 74 | + ContactList result = emailApi.ai().bcr().parse(new AiBcrParseRequest(fileBytes, null, null, true)); |
| 75 | + ContactDto contact = result.getValue().get(0); |
76 | 76 | ``` |
77 | 77 |
|
78 | | -[Product Page](https://products.aspose.cloud/email/java) | [Documentation](https://docs.aspose.cloud/email/) | [Demo](https://products.aspose.app/email/family) | [Swagger UI](https://apireference.aspose.cloud/email/) | [Blog](https://blog.aspose.cloud/category/email/) | [Free support](https://forum.aspose.cloud/c/email) | [Free trial](https://dashboard.aspose.cloud/#/apps) | [SDK reference documentation](https://docs.aspose.cloud/email/reference-api) |
| 78 | +## Aspose.Email Cloud SDKs in Popular Languages |
| 79 | + |
| 80 | +| .NET | Java | PHP | Python | Ruby | Node.js | |
| 81 | +|---|---|---|---|---|---| |
| 82 | +| [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-dotnet) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-java) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-php) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-python) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-ruby) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-node) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-android) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-swift)|[GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-dart) |[GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-go) | |
| 83 | +| [NuGet](https://www.nuget.org/packages/Aspose.Email-Cloud/) | [Maven](https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-email-cloud) | [Composer](https://packagist.org/packages/aspose/aspose-email-cloud) | [PIP](https://pypi.org/project/aspose.email-cloud/) | [GEM](https://rubygems.org/gems/aspose_email_cloud) | [NPM](https://www.npmjs.com/package/@asposecloud/aspose-email-cloud) | |
| 84 | + |
| 85 | +[Product Page](https://products.aspose.cloud/email/java) | [Documentation](https://docs.aspose.cloud/email/) | [Demo](https://products.aspose.app/email/family) | [Swagger UI](https://apireference.aspose.cloud/email/) | [Blog](https://blog.aspose.cloud/category/email/) | [Free support](https://forum.aspose.cloud/c/email) | [Free trial](https://dashboard.aspose.cloud/#/apps) | [SDK reference documentation](https://docs.aspose.cloud/email/reference-api) |
0 commit comments