Skip to content

Commit 6b6e675

Browse files
Adding readme information (#38)
1 parent 2af1b68 commit 6b6e675

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.env_example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
API_HOST=
2+
API_KEY=

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,20 @@ api.deleteLiltCreateContent(contentId).then(function(data) {
144144

145145
```
146146

147+
## Checking Credentials
148+
149+
If you would like to test your credentials using our functionality tests you can do the following.
150+
151+
Navigate to the folder where the package is installed and create a .env file inside the package using .env_example as a template. Fill out the API_HOST and API_KEY lines using the credentials you were given.
152+
153+
Then while inside the package folder, run:
154+
155+
```sh
156+
npm test
157+
```
158+
159+
You should be able to see the tests run.
160+
147161
## Documentation for API Endpoints
148162

149163
All URIs are relative to *https://api.lilt.com*

0 commit comments

Comments
 (0)