|
|
@ -4,14 +4,14 @@ A mastodon api prototyping area, a Flask interface exploration to test toots in |
|
|
|
|
|
|
|
----- |
|
|
|
|
|
|
|
This prototype depends on ... |
|
|
|
**This prototype depends on ... ** |
|
|
|
|
|
|
|
* Mastodon.py (```$ pip3 install Mastodon.py```) |
|
|
|
* Flask (```$ pip3 install flask```) |
|
|
|
|
|
|
|
----- |
|
|
|
|
|
|
|
At the first time the script is running |
|
|
|
**At the first time the script is running ** |
|
|
|
|
|
|
|
(and the mastodon api is used ...) |
|
|
|
|
|
|
@ -21,7 +21,7 @@ And run: ```$ python3 api_register_app.py``` |
|
|
|
|
|
|
|
----- |
|
|
|
|
|
|
|
To run it |
|
|
|
**To run it and see the interface** |
|
|
|
|
|
|
|
Change the ```api_base_url``` in ```interface.py``` to the instance that you want to use. |
|
|
|
|
|
|
@ -31,12 +31,12 @@ Browse to localhost:5000 :) |
|
|
|
|
|
|
|
----- |
|
|
|
|
|
|
|
More ... |
|
|
|
**More ...** |
|
|
|
|
|
|
|
There are a couple of API tests in the ```mastodon_api_tests.py``` file. |
|
|
|
|
|
|
|
----- |
|
|
|
|
|
|
|
Preview |
|
|
|
**Preview** |
|
|
|
|
|
|
|
![](Screenshot\ from\ 2018-12-05\ 00-32-36.png) |