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
Quickly and easily connect to Mindee's API services using Ruby.
5
6
6
7
## Requirements
8
+
7
9
The following Ruby versions are tested and supported: 2.6, 2.7, 3.0, 3.1, 3.2
8
10
9
11
## Quick Start
12
+
10
13
Here's the TL;DR of getting started.
11
14
12
15
First, get an [API Key](https://developers.mindee.com/docs/create-api-key)
@@ -18,15 +21,38 @@ gem 'mindee'
18
21
```
19
22
20
23
And then execute:
24
+
21
25
```sh
22
26
bundle install
23
27
```
24
28
25
29
Finally, Ruby away!
26
30
31
+
### Environment Variables
32
+
33
+
This library offers customizable features through environment variables. While there may be instances where you need to
34
+
rely on them, it's crucial to exercise caution when modifying them to avoid unintended consequences.
35
+
36
+
If you're unsure whether you need to adjust these variables, it's advisable to refrain from doing so unless you have a
37
+
specific reason. Accidentally overwriting them can lead to unexpected behavior.
38
+
39
+
Before making any changes, we recommend reviewing the following information to understand the purpose and potential
40
+
impact of each environment variable:
41
+
42
+
*`MINDEE_API_KEY`:
43
+
***Description**: Your personal Mindee API Key as shown on the platform. Be careful not to show this publicly!
44
+
***Default Value**: `nil`
45
+
*`MINDEE_BASE_URL`:
46
+
***Description**: The default base URL of the API endpoint. Use this variable to specify the root URL for API requests. Modify as needed for proxy configurations or changes in API endpoint location.
47
+
***Default Value**: `https://api.mindee.net/v1`
48
+
*`MINDEE_REQUEST_TIMEOUT`:
49
+
***Description**: The default timeout for HTTP requests (in seconds).
0 commit comments