All Projects → tootsuite → Mastodon Api

tootsuite / Mastodon Api

A ruby interface for the Mastodon API

Programming Languages

ruby
36898 projects - #4 most used programming language

Labels

Projects that are alternatives of or similar to Mastodon Api

Hunter
A Elixir client for Mastodon, a GNU Social compatible micro-blogging service
Stars: ✭ 32 (-73.55%)
Mutual labels:  mastodon
Sharexin
ShareX for Linux and BSD
Stars: ✭ 79 (-34.71%)
Mutual labels:  mastodon
Documentation
Full documentation repository for Mastodon
Stars: ✭ 1,450 (+1098.35%)
Mutual labels:  mastodon
Ananas
The Python Bot Framework for Mastodon
Stars: ✭ 46 (-61.98%)
Mutual labels:  mastodon
Indigenous Android
An open social app with support for IndieWeb, Mastodon, Pleroma and Pixelfed.
Stars: ✭ 69 (-42.98%)
Mutual labels:  mastodon
Microstatus
Lightweight Mastodon- and GNU social-compatible ActivityPub and OStatus server implementation
Stars: ✭ 96 (-20.66%)
Mutual labels:  mastodon
Toot Relay
Relay that forwards web push notifications to APNs, built for Toot!.app but usable for anyone.
Stars: ✭ 18 (-85.12%)
Mutual labels:  mastodon
Subwaytooter
Mastodon client app for Android
Stars: ✭ 118 (-2.48%)
Mutual labels:  mastodon
Tooter
Add 'Toot' and 'Share to Mastodon' buttons to the web
Stars: ✭ 75 (-38.02%)
Mutual labels:  mastodon
Forget
Continuous post deletion for twitter and mastodon
Stars: ✭ 104 (-14.05%)
Mutual labels:  mastodon
Megalodon
Mastodon, Pleroma and Misskey API client library for node.js and browser
Stars: ✭ 52 (-57.02%)
Mutual labels:  mastodon
Tusky
An Android client for the microblogging server Mastodon
Stars: ✭ 1,070 (+784.3%)
Mutual labels:  mastodon
Naumanni
Naumanni is a Web user interface specially designed for Mastodon.
Stars: ✭ 97 (-19.83%)
Mutual labels:  mastodon
Ocrbot
An OCR (Optical Character Recognition) bot for Mastodon (and compatible) instances
Stars: ✭ 39 (-67.77%)
Mutual labels:  mastodon
Go Blurhash
A Blurhash implementation in pure Go (Decode/Encode)
Stars: ✭ 115 (-4.96%)
Mutual labels:  mastodon
Orion
🚀 "Orion" is generic fediverse microblogging application for Desktop.
Stars: ✭ 14 (-88.43%)
Mutual labels:  mastodon
Mastodon Api
Mastodon API Client Library
Stars: ✭ 89 (-26.45%)
Mutual labels:  mastodon
Gakki
🌼🌸 A React Native App for Mastodon. 一个由React Native编写的长毛象客户端App🦋
Stars: ✭ 120 (-0.83%)
Mutual labels:  mastodon
Wordpress Activitypub
ActivityPub for WordPress
Stars: ✭ 118 (-2.48%)
Mutual labels:  mastodon
The Federation.info
Statistics hub for the Fediverse
Stars: ✭ 101 (-16.53%)
Mutual labels:  mastodon

Mastodon API Ruby Gem

Gem Version Build Status

A ruby interface for the Mastodon API.

Installation

gem 'mastodon-api', require: 'mastodon'

Documentation

All the documentation is available on RubyDoc.

Usage

Assuming that you already have an access token for a user on a given Mastodon instance:

require 'mastodon'

client = Mastodon::REST::Client.new(base_url: 'https://mastodon.social', bearer_token: 'your_access_token')

If 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):

client.create_app('My Ruby App', 'http://mywebsite.com/callback')

You can then use the client ID and secret in a standard OAuth 2 authorization flow.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].