a mastodon api prototyping area
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
mb b52399a532 'README.md' updaten vor 5 Jahren
static/css a first prototype push vor 5 Jahren
templates a first prototype push vor 5 Jahren
.gitignore a first prototype push vor 5 Jahren
README.md 'README.md' updaten vor 5 Jahren
Screenshot from 2018-12-05 00-32-36.png a first prototype push vor 5 Jahren
api_register_app.py a first prototype push vor 5 Jahren
interface.py a first prototype push vor 5 Jahren
mastodon_api_tests.py a first prototype push vor 5 Jahren

README.md

mastodon.api.prototype

A mastodon api prototyping area, a Flask interface exploration to test toots in other environments.

This prototype depends on ...

  • Mastodon.py ($ pip3 install Mastodon.py)
  • Flask ($ pip3 install flask)

At the first time the script is running

(and the mastodon api is used ...)

Change the name and instance in the file api_register_app.py.

And run: $ python3 api_register_app.py

To run it and see the interface

Change the api_base_url in interface.py to the instance that you want to use.

And then ... $ python3 interface.py

Browse to localhost:5000 :)

More ...

There are a couple of API tests in the mastodon_api_tests.py file.

Preview

![](Screenshot\ from\ 2018-12-05\ 00-32-36.png)