{"id":13594629,"url":"https://github.com/mastodon/mastodon-api","last_synced_at":"2025-04-09T09:09:42.830Z","repository":{"id":45811312,"uuid":"71482664","full_name":"mastodon/mastodon-api","owner":"mastodon","description":"A ruby interface for the Mastodon API","archived":false,"fork":false,"pushed_at":"2024-03-13T02:33:04.000Z","size":165,"stargazers_count":177,"open_issues_count":14,"forks_count":61,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-04-06T06:16:14.254Z","etag":null,"topics":["mastodon","mastodon-api"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/mastodon.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-10-20T16:30:55.000Z","updated_at":"2025-02-20T12:51:18.000Z","dependencies_parsed_at":"2024-03-17T04:38:48.964Z","dependency_job_id":"a68d8b07-0400-474f-9bce-184ba9501142","html_url":"https://github.com/mastodon/mastodon-api","commit_stats":{"total_commits":58,"total_committers":12,"mean_commits":4.833333333333333,"dds":0.603448275862069,"last_synced_commit":"60b0ed09c3b979cbeb833db0a320b30e1b022a1e"},"previous_names":["tootsuite/mastodon-api"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastodon%2Fmastodon-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastodon%2Fmastodon-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastodon%2Fmastodon-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastodon%2Fmastodon-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mastodon","download_url":"https://codeload.github.com/mastodon/mastodon-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248008630,"owners_count":21032556,"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":["mastodon","mastodon-api"],"created_at":"2024-08-01T16:01:36.721Z","updated_at":"2025-04-09T09:09:42.815Z","avatar_url":"https://github.com/mastodon.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"Mastodon API Ruby Gem\n=====================\n\n[![Gem Version](http://img.shields.io/gem/v/mastodon-api.svg)][gem]\n[![Build Status](http://img.shields.io/travis/tootsuite/mastodon-api.svg)][travis]\n\n[gem]: https://rubygems.org/gems/mastodon-api\n[travis]: https://travis-ci.org/tootsuite/mastodon-api\n\nA ruby interface for the [Mastodon](https://github.com/tootsuite/mastodon) API.\n\n## Installation\n\n    gem 'mastodon-api', require: 'mastodon'\n\n## Documentation\n\nAll the documentation is available on [RubyDoc](http://www.rubydoc.info/gems/mastodon-api/Mastodon/REST/API).\n\n## Usage\n\nAssuming that you already have an access token for a user on a given Mastodon instance:\n\n    require 'mastodon'\n\n    client = Mastodon::REST::Client.new(base_url: 'https://mastodon.social', bearer_token: 'your_access_token')\n\nIf you need to get an access token, you must first ensure that you have the client ID and client secret for your app on the given Mastodon instance (you should save those for future calls):\n\n    client.create_app('My Ruby App', 'http://mywebsite.com/callback')\n\nYou can then use the client ID and secret in a standard OAuth 2 authorization flow.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmastodon%2Fmastodon-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmastodon%2Fmastodon-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmastodon%2Fmastodon-api/lists"}