File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ For more information how to obtain an API key visit the [following link](https:/
37
37
- [ List all segments] ( #list-all-segments )
38
38
- [ Update a segment] ( #update-a-segment )
39
39
- [ Delete a segment] ( #delete-a-segment )
40
+ - [ Get segment information] ( #get-segment-information )
40
41
- [ Get subscribers belonging to a segment] ( #get-subscribers-belonging-to-a-segment )
41
42
- [ Fields] ( #fields )
42
43
- [ List all fields] ( #list-all-fields )
@@ -347,6 +348,21 @@ segment_id = 123456
347
348
response = client.segments.delete(segment_id)
348
349
```
349
350
351
+ ### Get segment information
352
+ <a name =" get-segment-information " ></a >
353
+
354
+ ``` python
355
+ import mailerlite as MailerLite
356
+
357
+ client = MailerLite.Client({
358
+ ' api_key' : ' your-api-key'
359
+ })
360
+
361
+ segment_id = 123456
362
+
363
+ response = client.segments.get(segment_id, limit = 10 , filter = {' status' : ' active' })
364
+ ```
365
+
350
366
### Get subscribers belonging to a segment
351
367
<a name =" get-subscribers-belonging-to-a-segment " ></a >
352
368
You can’t perform that action at this time.
0 commit comments