1
0
mirror of https://github.com/ihabunek/toot.git synced 2024-11-03 04:17:21 -05:00
Commit Graph

8 Commits

Author SHA1 Message Date
Ivan Habunek
b15cb85a23
Standardize http request method parameters
This allows setting either json or data. Until now we were always using
data and this is not enough for some endpoints.
2022-11-24 11:20:59 +01:00
Ivan Habunek
9f23ba4d55
Simplify mocking in tests 2018-06-07 10:05:14 +02:00
Ivan Habunek
062bd864eb
Fix tests 2017-12-30 18:04:38 +01:00
Ivan Habunek
92d4dc745a
Use http methods instead of requests directly 2017-12-30 16:30:35 +01:00
Ivan Habunek
3f44d560c8
Store access tokens for multiple instances
This makes it so an app is created only once for each instance, instead
of being re-created on each login. Prevents accumulations of authroized
apps in https://mastodon.social/oauth/authorized_applications
2017-04-18 16:16:24 +02:00
Ivan Habunek
d53849fe4b
Extract api functions to api.py 2017-04-16 14:14:33 +02:00
Ivan Habunek
d21e45899c
Add coding directive 2017-04-15 14:53:08 +02:00
Ivan Habunek
7e31c57a63
Start testing 2017-04-15 14:46:22 +02:00