Skip to content

Commit b8d31ca

Browse files
add usage.md
1 parent 5a9d251 commit b8d31ca

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

README.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -117,24 +117,7 @@ try {
117117

118118
<a name="usage"></a>
119119
# Usage
120-
121-
- [Example Code](https://github.com/sendgrid/java-http-client/tree/master/examples)
122-
123-
The example uses SendGrid, you can get your free account [here](https://sendgrid.com/free?source=java-http-client).
124-
125-
First, update your environment with your [SENDGRID_API_KEY](https://app.sendgrid.com/settings/api_keys).
126-
127-
```bash
128-
echo "export SENDGRID_API_KEY='YOUR_API_KEY'" > sendgrid.env
129-
echo "sendgrid.env" >> .gitignore
130-
source ./sendgrid.env
131-
```
132-
133-
```bash
134-
mvn package
135-
cd examples
136-
javac -classpath {path_to}/sendgrid-java-http-client-4.0.0-jar.jar:. Example.java && java -classpath {path_to}/sendgrid-java-http-client-4.0.0-jar.jar:. Example
137-
```
120+
[Library Usage Documentation](USAGE.md)
138121

139122
<a name="roadmap"></a>
140123
# Roadmap

USAGE.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Usage
2+
3+
- [Example Code](https://github.com/sendgrid/java-http-client/tree/master/examples)
4+
5+
The example uses SendGrid, you can get your free account [here](https://sendgrid.com/free?source=java-http-client).
6+
7+
First, update your environment with your [SENDGRID_API_KEY](https://app.sendgrid.com/settings/api_keys).
8+
9+
```bash
10+
echo "export SENDGRID_API_KEY='YOUR_API_KEY'" > sendgrid.env
11+
echo "sendgrid.env" >> .gitignore
12+
source ./sendgrid.env
13+
```
14+
15+
```bash
16+
mvn package
17+
cd examples
18+
javac -classpath {path_to}/sendgrid-java-http-client-4.0.0-jar.jar:. Example.java && java -classpath {path_to}/sendgrid-java-http-client-4.0.0-jar.jar:. Example
19+
```

0 commit comments

Comments
 (0)