Python client for the phplist REST API
Project description
# Python library for PHPList REST API
This is a python 3 library for interacting with the PHPList REST API.
## To Use
1. `pip install -r requirements`
2. Write your code:
```python
from phplist import PHPListClient
client = PHPListClient("https://myphplistresturl", secret="mysecret")
client.login(login="myusername", password="mypassword")
output = client.lists_get()
```
## Run Tests
1. `pip install nose`
2. `nosetests tests.py`
## TODO
* add setup.py
* push up to pypi
This is a python 3 library for interacting with the PHPList REST API.
## To Use
1. `pip install -r requirements`
2. Write your code:
```python
from phplist import PHPListClient
client = PHPListClient("https://myphplistresturl", secret="mysecret")
client.login(login="myusername", password="mypassword")
output = client.lists_get()
```
## Run Tests
1. `pip install nose`
2. `nosetests tests.py`
## TODO
* add setup.py
* push up to pypi
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
phplist-client-1.0.0.tar.gz
(2.1 kB
view hashes)