This is a python 3 library for interacting with the PHPList REST API.
To Use
pip install -r requirements
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
pip install nose
nosetests tests.py
TODO
add setup.py
push up to pypi
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.2.tar.gz
(2.2 kB
view details)
File details
Details for the file phplist-client-1.0.2.tar.gz.
File metadata
- Download URL: phplist-client-1.0.2.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6ac4225b8c409f50fd20da2fe1bfc529717ed3c9da214a7d0866fa2effa0c16
|
|
| MD5 |
1b17782dd083157c9b74bc43cf37d24b
|
|
| BLAKE2b-256 |
085c6428ada8deb63ce53a68802af90bc3a8b8db1d1e16d26c6f5dc93ac497b6
|