Python wrapper for the Mastodon ( https://github.com/mastodon/mastodon/ ) API.
Maintenance release. No new features, fixes only.
resolve
keyword to account_search
(thanks zevaryx)create_app
(thanks jkawamoto)list_accounts
to actually include request parameters (thanks leoncowle)local
and remote
parameter to stream_public
(thank you for the report jeafreezy)limit
and lang
parameters on trend related functions not present or working (thanks for the report pdeitel)follows
with a backwards compatibility stub.admin_domain_blocks
(thanks for the report defnull)Docs: https://mastodonpy.readthedocs.io/en/1.8.1/ PyPi: https://pypi.org/project/Mastodon.py/1.8.1/
trending_tags
, trending_statuses
, trending_links
, admin_trending_tags
, admin_trending_statuses
, admin_trending_links
)lang
parameter and document what it does properly.category
and rule_ids
to reports
admin_domain_blocks
, admin_domain_block
, admin_update_domain_block
, admin_delete_domain_block
- thanks catgoat)admin_measures
, admin_dimensions
, admin_retention
)account_familiar_followers
APIaccount_remove_from_followers
APIadmin_accounts_v2
APIadmin_accounts
still calls v1, but this may change in the future. You are encouraged to use v2 instead.Docs: https://mastodonpy.readthedocs.io/en/1.8.0/ PyPi: https://pypi.org/project/Mastodon.py/1.8.0/
Cleaned code up a bit (thanks eumiro)
Fixed some Pleroma related issues (thanks aveao, taraletti, adbenitez)
Added post editing (status_update
, status_source
, status_history
)
Added missing streaming events
Added missing parameters on directory endpoint (thanks heharkon)
This isn't somehing I changed but thank you a / triggerofsol for answering Many questions I had about specifics of what the API does that are not documented
Fixed search ignoring exclude_unreviewed
(Thanks acidghost)
Added support for using pathlib paths when loading media files (Thanks reagle)
Removed blocklist with long dead instances
Added types
parameter to notifications.
Documented additional notification types
Made version parsing more robust against varions things that Mastodon-compatible APIs might throw at it.
TECHNICALLY BREAKING CHANGE, but I would be quite surprised if this actually breaks anyone: Date parsing will now, when the date string is empty, return Jan. 1st, 1970 instead. This is to work around what I assume is a bug in Pleroma.
instance_rules
)email_resend_confirmation
)account_lookup
)policy
param to control notification sources for push_subscription_set
create_account
Docs: https://mastodonpy.readthedocs.io/en/1.6.3/ PyPi: https://pypi.org/manage/project/Mastodon.py/release/1.6.3/
Docs: https://mastodonpy.readthedocs.io/en/1.6.1/ PyPi: https://pypi.org/project/Mastodon.py/1.6.1/
Docs: https://mastodonpy.readthedocs.io/en/1.5.2/ Pip: https://pypi.org/project/Mastodon.py/1.5.2/
Docs: https://mastodonpy.readthedocs.io/en/1.5.1/ Pip: https://pypi.org/project/Mastodon.py/1.5.1/
3.0.0 support release (actually bumps supported version to 3.0.1, though), with some additional improvements
Docs: https://mastodonpy.readthedocs.io/en/1.5.0/ PyPi: https://pypi.org/project/Mastodon.py/1.5.0/
Bugfix release, no new features
Bugfix release for previous, no new features
Docs: https://mastodonpy.readthedocs.io/en/1.4.5/ PyPi: https://pypi.org/project/Mastodon.py/1.4.5/