Skip to content

Commit b67dbcf

Browse files
committed
Update URLs in history and readme
1 parent 0b8f042 commit b67dbcf

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

HISTORY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172

173173
## v3.1.0 - 15 Apr, 2013
174174

175-
* Added support for [single sign on](http://www.campaignmonitor.com/api/account/#single_sign_on) which allows initiation of external login sessions to Campaign Monitor.
175+
* Added support for [single sign on](https://www.campaignmonitor.com/api/account/#single_sign_on) which allows initiation of external login sessions to Campaign Monitor.
176176

177177
## v3.0.0 - 25 Mar, 2013
178178

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# createsend
22

3-
A Python library which implements the complete functionality of the [Campaign Monitor API](http://www.campaignmonitor.com/api/). Requires Python 3.8 or above.
3+
A Python library which implements the complete functionality of the [Campaign Monitor API](https://www.campaignmonitor.com/api/). Requires Python 3.8 or above.
44

55
## Installation
66

@@ -14,9 +14,9 @@ The Campaign Monitor API supports authentication using either OAuth or an API ke
1414

1515
### Using OAuth
1616

17-
Depending on the environment you are developing in, you may wish to use a Python OAuth library to get access tokens for your users. If you use [Flask](http://flask.pocoo.org/), you may like to refer to this [example application](https://gist.github.com/jdennes/4754097), which uses the [Flask-OAuth](http://pythonhosted.org/Flask-OAuth/) package to authenticate.
17+
Depending on the environment you are developing in, you may wish to use a Python OAuth library to get access tokens for your users. If you use [Flask](https://flask.palletsprojects.com/en/stable/), you may like to refer to this [example application](https://gist.github.com/jdennes/4754097), which uses the [Flask-OAuth](https://pythonhosted.org/Flask-OAuth/) package to authenticate.
1818

19-
If you don't use an OAuth library, you will need to manually get access tokens for your users by following the instructions included in the Campaign Monitor API [documentation](http://www.campaignmonitor.com/api/getting-started/#authenticating_with_oauth). This package provides functionality to help you do this, as described below. There's also another Flask [example application](https://gist.github.com/jdennes/4761254) you may wish to reference, which doesn't depend on any OAuth libraries.
19+
If you don't use an OAuth library, you will need to manually get access tokens for your users by following the instructions included in the Campaign Monitor API [documentation](https://www.campaignmonitor.com/api/v3-3/getting-started/#authentication). This package provides functionality to help you do this, as described below. There's also another Flask [example application](https://gist.github.com/jdennes/4761254) you may wish to reference, which doesn't depend on any OAuth libraries.
2020

2121
The first thing your application should do is redirect your user to the Campaign Monitor authorization URL where they will have the opportunity to approve your application to access their Campaign Monitor account. You can get this authorization URL by using the `authorize_url()` function, like so:
2222

@@ -204,7 +204,7 @@ For example, if you wanted to find out how to call the `Subscriber.add()` method
204204
```python
205205
def test_add_with_custom_fields(self):
206206
self.subscriber.stub_request("subscribers/%s.json" % self.list_id, "add_subscriber.json")
207-
custom_fields = [ { "Key": 'website', "Value": 'http://example.com/' } ]
207+
custom_fields = [ { "Key": 'website', "Value": 'https://example.com/' } ]
208208
email_address = self.subscriber.add(self.list_id, "subscriber@example.com", "Subscriber", custom_fields, True)
209209
self.assertEqual(email_address, "subscriber@example.com")
210210
```

0 commit comments

Comments
 (0)