<commit_before>#phpList API
REST API as a plugin to [phpList](https://www.phplist.com)

This is the new official location for the plugin as of June 1st 2014

Two plugins inside this repo: "restapi" and "restapi-test"

Original development by Flowcom AB, <NAME> ([@EkAndreas](https://twitter.com/ekandreas))

License: GPLv2

##History
```
v.      Date        Description
0.3     2014-05-31  Moved to phpList organisation and renamed phplist-plugin-restapi
0.2.7   2013-03-13  Added order and limit to listsGet
0.2.6   2013-03-13  Test script fixed with login and password.
0.2.5   2013-02-24  New name: RESTAPI and some documentation updates. No new functionality.
0.2.4   2012-12-29  API-location "coderoot" dynamically routed, recommended by Bramley
0.2.3   2012-12-29  Corrections to static calls, recommended by Bramley
0.2.2   2012-12-29  Some more documentation added
0.2.1   2012-12-29  Documentation generator started
0.2     2012-12-28  Slim Framework removed
0.1     2012-12-26  Created
```

##Installation
###1. Activate plugins in phpList
Change the config-parameter for plugin folder in /config/config.php.

Example of definition in config-file:
```
define("PLUGIN_ROOTDIR","/var/www/yoursite.com/plugins");<commit_msg>update license<commit_after>#phpList API
REST API as a plugin to [phpList](https://www.phplist.com)

This is the new official location for the plugin as of June 1st 2014

Two plugins inside this repo: "restapi" and "restapi-test"

Original development by Flowcom AB, <NAME> ([@EkAndreas](https://twitter.com/ekandreas))

License: GPLv3 or later

##History
```
v.      Date        Description
0.3     2014-05-31  Moved to phpList organisation and renamed phplist-plugin-restapi
0.2.7   2013-03-13  Added order and limit to listsGet
0.2.6   2013-03-13  Test script fixed with login and password.
0.2.5   2013-02-24  New name: RESTAPI and some documentation updates. No new functionality.
0.2.4   2012-12-29  API-location "coderoot" dynamically routed, recommended by Bramley
0.2.3   2012-12-29  Corrections to static calls, recommended by Bramley
0.2.2   2012-12-29  Some more documentation added
0.2.1   2012-12-29  Documentation generator started
0.2     2012-12-28  Slim Framework removed
0.1     2012-12-26  Created
```

##Installation
###1. Activate plugins in phpList
Change the config-parameter for plugin folder in /config/config.php.

Example of definition in config-file:
```
define("PLUGIN_ROOTDIR","/var/www/yoursite.com/plugins");
{'fraction_non_alphanumeric': 0.09789644012944984, 'fraction_numerical': 0.09223300970873786, 'mean_word_length': 3.7015209125475286, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6085141', 'n_tokens_mistral': 936, 'n_tokens_neox': 793, 'n_words': 280}