Skip to content

Commit 3a6b8bb

Browse files
authored
Merge pull request #18 from bfontaine/patch-1
README: Fix grammar
2 parents 9c27c97 + 1671d48 commit 3a6b8bb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
### API documentation
99

10-
Every code examples can be find on the [Mailjet Documentation][doc]
10+
All code examples can be found on the [Mailjet Documentation][doc].
1111

1212
(Please refer to the [Mailjet Documentation Repository][api_doc] to contribute to the documentation examples)
1313

@@ -22,7 +22,7 @@ Every code examples can be find on the [Mailjet Documentation][doc]
2222
First, make sure you have an API key, and an API secret.
2323
Once you got them, save them in your environment:
2424

25-
```
25+
```bash
2626
export MJ_APIKEY_PUBLIC='your api key'
2727
export MJ_APIKEY_PRIVATE='your api secret'
2828
```
@@ -40,17 +40,17 @@ mailjet = Client(auth=(API_KEY, API_SECRET), version='v3')
4040

4141
```
4242

43-
**NOTE**: `version` reflects the api version in the url (`https://api.mailjet.com/{{ version }}/REST/`). It is `'v3'` by default and can be used to select another api version (for example `v3.1` for the new send API).
43+
**NOTE**: `version` reflects the API version in the URL (`https://api.mailjet.com/{{ version }}/REST/`). It is `'v3'` by default and can be used to select another API version (for example `v3.1` for the new send API).
4444

4545
## Make a `GET` request:
4646
``` python
47-
# get every contacts
47+
# get all contacts
4848
result = mailjet.contact.get()
4949
```
5050

5151
## `GET` request with filters:
5252
``` python
53-
# get the 2 first contacts
53+
# get the first 2 contacts
5454
result = mailjet.contact.get(filters={'limit': 2})
5555
```
5656
## `POST` request
@@ -61,7 +61,7 @@ result = mailjet.sender.create(data={'email': 'test@mailjet.com'})
6161

6262
## Combine a resource with an action
6363
``` python
64-
# Get the contact lists of contact #2
64+
# Get the contacts lists of contact #2
6565
result = mailjet.contact_getcontactslists.get(id=2)
6666
```
6767

@@ -72,7 +72,7 @@ email = {
7272
'FromName': 'Mr Smith',
7373
'FromEmail': 'mr@smith.com',
7474
'Subject': 'Test Email',
75-
'Text-Part': 'Hey there !',
75+
'Text-Part': 'Hey there!',
7676
'Recipients': [{'Email': 'your email here'}]
7777
}
7878

0 commit comments

Comments
 (0)