Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mahanrahmati/mastodon-entities
A Dart package containing Mastodon API entities.
https://github.com/mahanrahmati/mastodon-entities
dartlang mastodon mastodon-entities
Last synced: 2 months ago
JSON representation
A Dart package containing Mastodon API entities.
- Host: GitHub
- URL: https://github.com/mahanrahmati/mastodon-entities
- Owner: MahanRahmati
- License: bsd-3-clause
- Created: 2024-04-22T22:57:31.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-08-29T23:25:13.000Z (4 months ago)
- Last Synced: 2024-09-25T20:41:45.576Z (3 months ago)
- Topics: dartlang, mastodon, mastodon-entities
- Language: Dart
- Homepage:
- Size: 508 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## Introduction
This package provides classes for working with Mastodon API entities in Dart.
## Features
- Handles all entity types defined in Mastodon API docs.
- Provides serialization and deserialization methods for working with entities.## Installation
Add Mastodon Entities as a dependency in your pubspec.yaml:
```yaml
dependencies:
mastodon_entities: ^1.1.14+1
```Then, run dart pub get to install the package.
## Usage
To use Mastodon Entities in your application, simply import the package:
```dart
import 'package:mastodon_entities/mastodon_entities.dart';
```## Differences
| Mastodon | Mastodon Entities |
| -------- | ----------------- |
| Context | StatusContext |
| Error | MastodonError |
| List | UserList |## License
Mastodon Entities is [BSD 3-Clause licensed](./LICENSE).
## Contributing
Contributions are welcome! If you find a bug or want to add a new feature, please open an issue or submit a pull request.