You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-3Lines changed: 23 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@ This guide provides several key sections:
16
16
-[Gradle users](#gradle-users)
17
17
-[Maven users](#maven-users)
18
18
-[Others](#others)
19
+
-[Set your API key](#set-your-api-key)
20
+
-[Create your code](#create-your-code)
19
21
-[API Reference](#api-reference)
20
22
-[Creating an account](#creating-an-account)
21
23
-[Test email addresses with Mailosaur](#test-email-addresses-with-mailosaur)
@@ -72,6 +74,24 @@ You'll need to manually install the following JARs:
72
74
-[Google HTTP Client (Gson)](https://github.com/googleapis/google-http-java-client) from https://repo1.maven.org/maven2/com/google/http-client/google-http-client-gson/.
73
75
-[Google Gson](https://github.com/google/gson) from https://repo1.maven.org/maven2/com/google/code/gson/gson/.
74
76
77
+
### Set your API key
78
+
79
+
Get your API key from the Mailosaur Dashboard and set it as an environment variable:
80
+
81
+
```sh
82
+
export MAILOSAUR_API_KEY='your-api-key-here'
83
+
```
84
+
85
+
### Create your code
86
+
87
+
Then import the library and create a client:
88
+
89
+
```java
90
+
importcom.mailosaur.MailosaurClient;
91
+
92
+
MailosaurClient mailosaur =newMailosaurClient();
93
+
```
94
+
75
95
### API Reference
76
96
77
97
This library is powered by the Mailosaur [email & SMS testing API](https://mailosaur.com/docs/api/). You can easily check out the API itself by looking at our [API reference documentation](https://mailosaur.com/docs/api/) or via our Postman or Insomnia collections:
0 commit comments