{"id":17180310,"url":"https://github.com/jjatria/mastodon-client","last_synced_at":"2025-04-13T17:12:59.429Z","repository":{"id":54859360,"uuid":"88290203","full_name":"jjatria/Mastodon-Client","owner":"jjatria","description":"Talk to a Mastodon server (Mirrored from https://gitlab.com/jjatria/Mastodon-Client)","archived":false,"fork":false,"pushed_at":"2021-01-24T20:06:47.000Z","size":316,"stargazers_count":5,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-13T17:12:53.042Z","etag":null,"topics":["cpan","mastodon","perl"],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jjatria.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-14T17:53:03.000Z","updated_at":"2024-09-03T10:42:17.000Z","dependencies_parsed_at":"2022-08-14T05:00:27.378Z","dependency_job_id":null,"html_url":"https://github.com/jjatria/Mastodon-Client","commit_stats":null,"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjatria%2FMastodon-Client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjatria%2FMastodon-Client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjatria%2FMastodon-Client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjatria%2FMastodon-Client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jjatria","download_url":"https://codeload.github.com/jjatria/Mastodon-Client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248750126,"owners_count":21155687,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpan","mastodon","perl"],"created_at":"2024-10-15T00:29:20.831Z","updated_at":"2025-04-13T17:12:59.400Z","avatar_url":"https://github.com/jjatria.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nMastodon::Client - Talk to a Mastodon server\n\n# SYNOPSIS\n\n    use Mastodon::Client;\n\n    my $client = Mastodon::Client-\u003enew(\n      instance        =\u003e 'mastodon.social',\n      name            =\u003e 'PerlBot',\n      client_id       =\u003e $client_id,\n      client_secret   =\u003e $client_secret,\n      access_token    =\u003e $access_token,\n      coerce_entities =\u003e 1,\n    );\n\n    $client-\u003epost_status('Posted to a Mastodon server!');\n    $client-\u003epost_status('And now in secret...',\n      { visibility =\u003e 'unlisted' }\n    )\n\n    # Streaming interface might change!\n    my $listener = $client-\u003estream( 'public' );\n    $listener-\u003eon( update =\u003e sub {\n      my ($listener, $status) = @_;\n      printf \"%s said: %s\\n\",\n        $status-\u003eaccount-\u003edisplay_name,\n        $status-\u003econtent;\n    });\n    $listener-\u003estart;\n\n# DESCRIPTION\n\nMastodon::Client lets you talk to a Mastodon server to obtain authentication\ncredentials, read posts from timelines in both static or streaming mode, and\nperform all the other operations exposed by the Mastodon API.\n\nMost of these are available through the convenience methods listed below, which\nvalidate input parameters and are likely to provide more meaningful feedback in\ncase of errors.\n\nAlternatively, this distribution can be used via the low-level request methods\n(**post**, **get**, etc), which allow direct access to the API endpoints. All\nother methods call one of these at some point.\n\n# VERSION NOTICE\n\nThis distribution currently **only supports version 1 of the Mastodon API**.\n\nHelp implementing support for any missing features in version 1, and for the\nnew features in version 2, would be greatfully appreciated.\n\n# ATTRIBUTES\n\n- **instance**\n\n    A Mastodon::Entity::Instance object representing the instance to which this\n    client will speak. Defaults to `mastodon.social`.\n\n- **api\\_version**\n\n    An integer specifying the version of the API endpoints to use. Defaults to `1`.\n\n- **redirect\\_uri**\n\n    The URI to which authorization codes should be forwarded as part of the OAuth2\n    flow. Defaults to `urn:ietf:wg:oauth:2.0:oob` (meaning no redirection).\n\n- **user\\_agent**\n\n    The user agent to use for the requests. Defaults to an instance of\n    [HTTP::Thin](https://metacpan.org/pod/HTTP::Thin). It is expected to have a `request` method that\n    accepts [HTTP::Request](https://metacpan.org/pod/HTTP::Request) objects.\n\n- **coerce\\_entities**\n\n    A boolean value. Set to true if you want Mastodon::Client to internally coerce\n    all response entities to objects. This adds a level of validation, and can\n    make the objects easier to use.\n\n    Although this does require some additional processing, the coercion is done by\n    [Type::Tiny](https://metacpan.org/pod/Type::Tiny), so the impact is negligible.\n\n    For now, it defaults to **false** (but this will likely change, so I recommend\n    you use it).\n\n- **access\\_token**\n\n    The access token of your client. This is provided by the Mastodon API and is\n    used for the OAuth2 authentication required for most API calls.\n\n    You can get this by calling **authorize** with either an access code or your\n    account's username and password.\n\n- **authorized**\n\n    Boolean. False is the client has no defined access\\_token. When an access token\n    is set, this is set to true or to a [DateTime](https://metacpan.org/pod/DateTime) object representing the time of\n    authorization if possible (as received from the server).\n\n- **client\\_id**\n- **client\\_secret**\n\n    The client ID and secret are provided by the Mastodon API when you register\n    your client using the **register** method. They are used to identify where your\n    calls are coming from, and are required before you can use the **authorize**\n    method to get the access token.\n\n- **name**\n\n    Your client's name. This is required when registering, but is otherwise seldom\n    used. If you are using the **authorization\\_url** to get an access code from your\n    users, then they will see this name when they go to that page.\n\n- **account**\n\n    Holds the authenticated account. It is set internally by the **get\\_account**\n    method.\n\n- **scopes**\n\n    This array reference holds the scopes set by you for the client. These are\n    required when registering your client with the Mastodon instance. Defaults to\n    `read`.\n\n    Mastodon::Client will internally make sure that the scopes you were provided\n    when calling **authorize** match those that you requested. If this is not the\n    case, it will helpfully die.\n\n- **website**\n\n    The URL of a human-readable website for the client. If made available, it\n    appears as a link in the \"authorized applications\" tab of the user preferences\n    in the default Mastodon web GUI. Defaults to the empty string.\n\n# METHODS\n\n## Authorizing an application\n\nAlthough not all of the API methods require authentication to be used, most of\nthem do. The authentication process involves a) registering an application with\na Mastodon server to obtain a client secret and ID; b) authorizing the\napplication by either providing a user's credentials, or by using an\nauthentication URL.\n\nThe methods facilitating this process are detailed below:\n\n- **register()**\n- **register(%data)**\n\n    Obtain a client secret and ID from a given mastodon instance. Takes a single\n    hash as an argument, with the following possible keys:\n\n    - **redirect\\_uris**\n\n        The URL to which authorization codes should be forwarded after authorized by\n        the user. Defaults to the value of the **redirect\\_uri** attribute.\n\n    - **scopes**\n\n        The scopes requested by this client. Defaults to the value of the **scopes**\n        attribute.\n\n    - **website**\n\n        The client's website. Defaults to the value of the `website` attribute.\n\n    When successful, sets the `client_secret`, `scopes`, and `client_id`\n    attributes of the Mastodon::Client object and returns the modified object.\n\n    This should be called **once** per client and its contents cached locally.\n\n- **authorization\\_url()**\n\n    Generate an authorization URL for the given application. Accessing this URL\n    via a browser by a logged in user will allow that user to grant this\n    application access to the requested scopes. The scopes used are the ones in the\n    **scopes** attribute at the time this method is called.\n\n- **authorize()**\n- **authorize( %data )**\n\n    Grant the application access to the requested scopes for a given user. This\n    method takes a hash with either an access code or a user's login credentials to\n    grant authorization. Valid keys are:\n\n    - **access\\_code**\n\n        The access code obtained by visiting the URL generated by **authorization\\_url**.\n\n    - **username**\n    - **password**\n\n        The user's login credentials.\n\n    When successful, the method automatically sets the client's **authorized**\n    attribute to a true value and caches the **access\\_token** for all future calls.\n\n## Error handling\n\nMethods that make requests to the server will `die` whenever an error is\nencountered, or the data that was received from the server is not what is\nexpected. The error string will, when possible, come from the response's\nstatus line, but this will likely not be enough to fully diagnose what\nwent wrong.\n\n- **latest\\_response**\n\n    To make this easier, the client will cache the server's response after each\n    request has been made, and expose it through the `latest_response` accessor.\n\n    Note that, as its name implies, _this will only store the most recent\n    response_.\n\n    If called before any request has been made, it will return an undefined\n    value.\n\nThe remaining methods listed here follow the order of those in the official API\ndocumentation.\n\n## Accounts\n\n- **get\\_account()**\n- **get\\_account($id)**\n- **get\\_account($params)**\n- **get\\_account($id, $params)**\n\n    Fetches an account by ID. If no ID is provided, this defaults to the current\n    authenticated account. Global GET parameters are available for this method.\n\n    Depending on the value of `coerce_entities`, it returns a\n    Mastodon::Entity::Account object, or a plain hash reference.\n\n- **update\\_account($params)**\n\n    Make changes to the authenticated account. Takes a hash reference with the\n    following possible keys:\n\n    - **display\\_name**\n    - **note**\n\n        Strings\n\n    - **avatar**\n    - **header**\n\n        A base64 encoded image, or the name of a file to be encoded.\n\n    Depending on the value of `coerce_entities`, returns the modified\n    Mastodon::Entity::Account object, or a plain hash reference.\n\n- **followers()**\n- **followers($id)**\n- **followers($params)**\n- **followers($id, $params)**\n\n    Get the list of followers of an account by ID. If no ID is provided, the one\n    for the current authenticated account is used. Global GET parameters are\n    available for this method.\n\n    Depending on the value of `coerce_entities`, returns an array reference of\n    Mastodon::Entity::Account objects, or a plain array reference.\n\n- **following()**\n- **following($id)**\n- **following($params)**\n- **following($id, $params)**\n\n    Get the list of accounts followed by the account specified by ID. If no ID is\n    provided, the one for the current authenticated account is used. Global GET\n    parameters are available for this method.\n\n    Depending on the value of `coerce_entities`, returns an array reference of\n    Mastodon::Entity::Account objects, or a plain array reference.\n\n- **statuses()**\n- **statuses($id)**\n- **statuses($params)**\n- **statuses($id, $params)**\n\n    Get a list of statuses from the account specified by ID. If no ID is\n    provided, the one for the current authenticated account is used.\n\n    In addition to the global GET parameters, this method accepts the following\n    parameters:\n\n    - **only\\_media**\n    - **exclude\\_replies**\n\n        Both boolean.\n\n    Depending on the value of `coerce_entities`, returns an array reference of\n    Mastodon::Entity::Status objects, or a plain array reference.\n\n- **follow($id)**\n- **unfollow($id)**\n\n    Follow or unfollow an account specified by ID. The ID argument is mandatory.\n\n    Depending on the value of `coerce_entities`, returns the new\n    Mastodon::Entity::Relationship object, or a plain hash reference.\n\n- **block($id)**\n- **unblock($id)**\n\n    Block or unblock an account specified by ID. The ID argument is mandatory.\n\n    Depending on the value of `coerce_entities`, returns the new\n    Mastodon::Entity::Relationship object, or a plain hash reference.\n\n- **mute($id)**\n- **unmute($id)**\n\n    Mute or unmute an account specified by ID. The ID argument is mandatory.\n\n    Depending on the value of `coerce_entities`, returns the new\n    Mastodon::Entity::Relationship object, or a plain hash reference.\n\n- **relationships(@ids)**\n- **relationships(@ids, $params)**\n\n    Get the list of relationships of the current authenticated user with the\n    accounts specified by ID. At least one ID is required, but more can be passed\n    at once. Global GET parameters are available for this method, and can be passed\n    as an additional hash reference as a final argument.\n\n    Depending on the value of `coerce_entities`, returns an array reference of\n    Mastodon::Entity::Relationship objects, or a plain array reference.\n\n- **search\\_accounts($query)**\n- **search\\_accounts($query, $params)**\n\n    Search for accounts. Takes a mandatory string argument to use as the search\n    query. If the search query is of the form `username@domain`, the accounts\n    will be searched remotely.\n\n    In addition to the global GET parameters, this method accepts the following\n    parameters:\n\n    - **limit**\n\n        The maximum number of matches. Defaults to 40.\n\n    Depending on the value of `coerce_entities`, returns an array reference of\n    Mastodon::Entity::Account objects, or a plain array reference.\n\n    This method does not require authentication.\n\n## Blocks\n\n- **blocks()**\n- **blocks($params)**\n\n    Get the list of accounts blocked by the authenticated user. Global GET\n    parameters are available for this method.\n\n    Depending on the value of `coerce_entities`, returns an array reference of\n    Mastodon::Entity::Account objects, or a plain array reference.\n\n## Favourites\n\n- **favourites()**\n- **favourites($params)**\n\n    Get the list of statuses favourited by the authenticated user. Global GET\n    parameters are available for this method.\n\n    Depending on the value of `coerce_entities`, returns an array reference of\n    Mastodon::Entity::Status objects, or a plain array reference.\n\n## Follow requests\n\n- **follow\\_requests()**\n- **follow\\_requests($params)**\n\n    Get the list of accounts requesting to follow the the authenticated user.\n    Global GET parameters are available for this method.\n\n    Depending on the value of `coerce_entities`, returns an array reference of\n    Mastodon::Entity::Account objects, or a plain array reference.\n\n- **authorize\\_follow($id)**\n- **reject\\_follow($id)**\n\n    Accept or reject the follow request by the account of the specified ID. The ID\n    argument is mandatory.\n\n    Returns an empty object.\n\n## Follows\n\n- **remote\\_follow($acct)**\n\n    Follow a remote user by account string (ie. `username@domain`). The argument\n    is mandatory.\n\n    Depending on the value of `coerce_entities`, returns an\n    Mastodon::Entity::Account object, or a plain hash reference with the local\n    representation of the specified account.\n\n## Instances\n\n- **fetch\\_instance()**\n\n    Fetches the latest information for the current instance the client is talking\n    to. When successful, this method updates the value of the `instance`\n    attribute.\n\n    Depending on the value of `coerce_entities`, returns an\n    Mastodon::Entity::Instance object, or a plain hash reference.\n\n    This method does not require authentication.\n\n## Media\n\n- **upload\\_media($file)**\n- **upload\\_media($file, $params)**\n\n    Upload a file as an attachment. Takes a mandatory argument with the name of a\n    local file to encode and upload, and an optional hash reference with the\n    following additional parameters:\n\n    - **description**\n\n        A plain-text description of the media, for accessibility, as a string.\n\n    - **focus**\n\n        An array reference of two floating point values, to be used as\n        the x and y focus values. These inform clients which point in\n        the image is the most important one to show in a cropped view.\n\n        The value of a coordinate is a real number between -1 and +1,\n        where 0 is the center. x:-1 indicates the left edge of the\n        image, x:1 the right edge. For the y axis, y:1 is the top edge\n        and y:-1 is the bottom.\n\n    Depending on the value of `coerce_entities`, returns an\n    Mastodon::Entity::Attachment object, or a plain hash reference.\n\n    The returned object's ID can be passed to the **post\\_status** to post it to a\n    timeline.\n\n## Mutes\n\n- **mutes()**\n- **mutes($params)**\n\n    Get the list of accounts muted by the authenticated user. Global GET\n    parameters are available for this method.\n\n    Depending on the value of `coerce_entities`, returns an array reference of\n    Mastodon::Entity::Account objects, or a plain array reference.\n\n## Notifications\n\n- **notifications()**\n- **notifications($params)**\n\n    Get the list of notifications for the authenticated user. Global GET\n    parameters are available for this method.\n\n    Depending on the value of `coerce_entities`, returns an array reference of\n    Mastodon::Entity::Notification objects, or a plain array reference.\n\n- **get\\_notification($id)**\n\n    Get a notification by ID. The argument is mandatory.\n\n    Depending on the value of `coerce_entities`, returns an\n    Mastodon::Entity::Notification object, or a plain hash reference.\n\n- **clear\\_notifications()**\n\n    Clears all notifications for the authenticated user.\n\n    This method takes no arguments and returns an empty object.\n\n## Reports\n\n- **reports()**\n- **reports($params)**\n\n    Get a list of reports made by the authenticated user. Global GET\n    parameters are available for this method.\n\n    Depending on the value of `coerce_entities`, returns an array reference of\n    Mastodon::Entity::Report objects, or a plain array reference.\n\n- **report($params)**\n\n    Report a user or status. Takes a mandatory hash with the following keys:\n\n    - **account\\_id**\n\n        The ID of a single account to report.\n\n    - **status\\_ids**\n\n        The ID of a single status to report, or an array reference of statuses to\n        report.\n\n    - **comment**\n\n        An optional string.\n\n    While the comment is always optional, either the **account\\_id** or the list of\n    **status\\_ids** must be present.\n\n    Depending on the value of `coerce_entities`, returns the new\n    Mastodon::Entity::Report object, or a plain hash reference.\n\n## Search\n\n- **search($query)**\n- **search($query, $params)**\n\n    Search for content. Takes a mandatory string argument to use as the search\n    query. If the search query is a URL, Mastodon will attempt to fetch the\n    provided account or status. Otherwise, it will do a local account and hashtag\n    search.\n\n    In addition to the global GET parameters, this method accepts the following\n    parameters:\n\n    - **resolve**\n\n        Whether to resolve non-local accounts.\n\n## Statuses\n\n- **get\\_status($id)**\n- **get\\_status($id, $params)**\n\n    Fetches a status by ID. The ID argument is mandatory. Global GET parameters are available for this method as an additional hash reference.\n\n    Depending on the value of `coerce_entities`, it returns a\n    Mastodon::Entity::Status object, or a plain hash reference.\n\n    This method does not require authentication.\n\n- **get\\_status\\_context($id)**\n- **get\\_status\\_context($id, $params)**\n\n    Fetches the context of a status by ID. The ID argument is mandatory. Global GET parameters are available for this method as an additional hash reference.\n\n    Depending on the value of `coerce_entities`, it returns a\n    Mastodon::Entity::Context object, or a plain hash reference.\n\n    This method does not require authentication.\n\n- **get\\_status\\_card($id)**\n- **get\\_status\\_card($id, $params)**\n\n    Fetches a card associated to a status by ID. The ID argument is mandatory.\n    Global GET parameters are available for this method as an additional hash\n    reference.\n\n    Depending on the value of `coerce_entities`, it returns a\n    Mastodon::Entity::Card object, or a plain hash reference.\n\n    This method does not require authentication.\n\n- **get\\_status\\_reblogs($id)**\n- **get\\_status\\_reblogs($id, $params)**\n- **get\\_status\\_favourites($id)**\n- **get\\_status\\_favourites($id, $params)**\n\n    Fetches a list of accounts who have reblogged or favourited a status by ID.\n    The ID argument is mandatory. Global GET parameters are available for this\n    method as an additional hash reference.\n\n    Depending on the value of `coerce_entities`, it returns an array reference of\n    Mastodon::Entity::Account objects, or a plain array reference.\n\n    This method does not require authentication.\n\n- **post\\_status($text)**\n- **post\\_status($text, $params)**\n\n    Posts a new status. Takes a mandatory string as the content of the status\n    (which can be the empty string), and an optional hash reference with the\n    following additional parameters:\n\n    - **status**\n\n        The content of the status, as a string. Since this is already provided as the\n        first argument of the method, this is not necessary. But if provided, this\n        value will overwrite that of the first argument.\n\n    - **in\\_reply\\_to\\_id**\n\n        The optional ID of a status to reply to.\n\n    - **media\\_ids**\n\n        An array reference of up to four media IDs. These can be obtained as the result\n        of a call to **upload\\_media()**.\n\n    - **sensitive**\n\n        Boolean, to mark status content as NSFW.\n\n    - **spoiler\\_text**\n\n        A string, to be shown as a warning before the actual content.\n\n    - **visibility**\n\n        A string; one of `direct`, `private`, `unlisted`, or `public`.\n\n    Depending on the value of `coerce_entities`, it returns the new\n    Mastodon::Entity::Status object, or a plain hash reference.\n\n- **delete\\_status($id)**\n\n    Delete a status by ID. The ID is mandatory. Returns an empty object.\n\n- **reblog($id)**\n- **unreblog($id)**\n- **favourite($id)**\n- **unfavourite($id)**\n\n    Reblog or favourite a status by ID, or revert this action. The ID argument is\n    mandatory.\n\n    Depending on the value of `coerce_entities`, it returns the specified\n    Mastodon::Entity::Status object, or a plain hash reference.\n\n## Timelines\n\n- **timeline($query)**\n- **timeline($query, $params)**\n\n    Retrieves a timeline. The first argument defines either the name of a timeline\n    (which can be one of `home` or `public`), or a hashtag (if it begins with the\n    `#` character). This argument is mandatory.\n\n    In addition to the global GET parameters, this method accepts the following\n    parameters:\n\n    Accessing the public and tag timelines does not require authentication.\n\n    - **local**\n\n        Boolean. If true, limits results only to those originating from the current\n        instance. Only applies to public and tag timelines.\n\n    Depending on the value of `coerce_entities`, it returns an array of\n    Mastodon::Entity::Status objects, or a plain array reference. The more recent\n    statuses come first.\n\n# STREAMING RESULTS\n\nAlternatively, it is possible to use the streaming API to get a constant stream\nof updates. To do this, there is the **stream()** method.\n\n- **stream($query)**\n\n    Creates a Mastodon::Listener object which will fetch a stream for the\n    specified query. Possible values for the query are either `user`, for events\n    that are relevant to the authorized user; `public`, for all public statuses;\n    or a tag (if it begins with the `#` character), for all public statuses for\n    the particular tag.\n\n    For more details on how to use this object, see the documentation for\n    [Mastodon::Listener](https://metacpan.org/pod/Mastodon::Listener).\n\n    Accessing streaming public timeline does not require authentication.\n\n# REQUEST METHODS\n\nMastodon::Client uses four lower-level request methods to contact the API\nwith GET, POST, PATCH, and DELETE requests. These are left available in case\none of the higher-level convenience methods are unsuitable or undesirable, but\nyou use them at your own risk.\n\nThey all take a URL as their first parameter, which can be a string with the\nAPI endpoint to contact, or a [URI](https://metacpan.org/pod/URI) object, which will be used as-is.\n\nIf passed as a string, the methods expect one that contains only the variable\nparts of the endpoint (ie. not including the `HOST/api/v1` part). The\nremaining parts will be filled-in appropriately internally.\n\n- **delete($url)**\n- **get($url)**\n- **get($url, $params)**\n\n    Query parameters can be passed as part of the [URI](https://metacpan.org/pod/URI) object, but it is not\n    recommended you do so, since Mastodon has expectations for array parameters\n    that do not meet those of eg. [URI::QueryParam](https://metacpan.org/pod/URI::QueryParam). It will be easier and safer\n    if any additional parameters are passed as a hash reference, which will be\n    added to the URL before the request is sent.\n\n- **post($url)**\n- **post($url, $data)**\n- **patch($url)**\n- **patch($url, $data)**\n\n    the `post` and `patch` methods work similarly to `get` and `delete`, but\n    the optional hash reference is sent in as form data, instead of processed as\n    query parameters. The Mastodon API does not use query parameters on POST or\n    PATCH endpoints.\n\n# CONTRIBUTIONS AND BUG REPORTS\n\nContributions of any kind are most welcome!\n\nThe main repository for this distribution is on\n[GitLab](https://gitlab.com/jjatria/Mastodon-Client), which is where patches\nand bug reports are mainly tracked. The repository is also mirrored on\n[Github](https://github.com/jjatria/Mastodon-Client), in case that platform\nmakes it easier to post contributions.\n\nIf none of the above is acceptable, bug reports can also be sent through the\nCPAN RT system, or by mail directly to the developers at the address below,\nalthough these will not be as closely tracked.\n\n# AUTHOR\n\n- José Joaquín Atria \u003cjjatria@cpan.org\u003e\n\n# CONTRIBUTORS\n\n- Lance Wicks \u003clancew@cpan.org\u003e\n\n# COPYRIGHT AND LICENSE\n\nThis software is copyright (c) 2017 by José Joaquín Atria.\n\nThis is free software; you can redistribute it and/or modify it under\nthe same terms as the Perl 5 programming language system itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjjatria%2Fmastodon-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjjatria%2Fmastodon-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjjatria%2Fmastodon-client/lists"}