Skip to content

Commit 94b8981

Browse files
committed
Remove all references to Secret and ApiKey
1 parent 5ddc4e1 commit 94b8981

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
ConvertAPI helps in converting various file formats. Creating PDF and Images from various sources like Word, Excel, Powerpoint, images, web pages or raw HTML codes. Merge, Encrypt, Split, Repair and Decrypt PDF files and many other file manipulations. You can integrate it into your application in just a few minutes and use it easily.
88

99
The ConvertAPI-Go library makes it easier to use the Convert API from your Go projects without having to build your own API calls.
10-
You can get your free API secret at https://www.convertapi.com/a
10+
You can get your free API token at https://www.convertapi.com/a/authentication
1111

1212
## Installation
1313

@@ -21,10 +21,10 @@ go get github.com/ConvertAPI/convertapi-go
2121

2222
### Configuration
2323

24-
You can get your secret at https://www.convertapi.com/a
24+
You can get your free API token at https://www.convertapi.com/a/authentication
2525

2626
```go
27-
config.Default = config.NewDefault(os.Getenv("your-api-secret-or-token"))
27+
config.Default = config.NewDefault(os.Getenv("api-token"))
2828
```
2929

3030
### File conversion
@@ -111,7 +111,7 @@ import (
111111
)
112112

113113
func main() {
114-
config.Default = config.NewDefault(os.Getenv("your-api-secret-or-token"))
114+
config.Default = config.NewDefault(os.Getenv("api-token"))
115115

116116
if file, errs := convertapi.ConvertPath("test.docx", "/tmp/result.pdf"); errs == nil {
117117
fmt.Println("PDF file saved to: ", file.Name())
@@ -122,7 +122,7 @@ func main() {
122122
```
123123

124124
This is the bare-minimum to convert a file using the ConvertAPI client, but you can do a great deal more with the ConvertAPI Go library.
125-
Take special note that you should replace `your-api-secret` with the secret you obtained in item two of the pre-requisites.
125+
Take special note that you should replace `api-token` with the token you obtained in item two of the pre-requisites.
126126

127127

128128
### Conversion Without Temporarily Storing Files on the ConvertAPI File Server

0 commit comments

Comments
 (0)