summaryrefslogtreecommitdiffstats
path: root/examples
AgeCommit message (Collapse)Author
2020-09-25Various cleanup tasksPaul Woolcock
* Remove old `extern crate` stmts * Remove rust-skeptic * Clean up Cargo.toml
2020-06-11Update to the 2018 editionPaul Woolcock
Only 2 years later :eyeroll:
2018-10-10change up examples slightlyPaul Woolcock
2018-10-10feat(api): shortcut methods for following & followersPaul Woolcock
2018-10-04feature(api): Change `u64` ids to `&str`Paul Woolcock
Breaking change: All the entities with an `id` property have String ids, but all endpoints that take ids used `u64` ids. This changes that so that all the methods that take ids, take them as `&str`.
2018-09-10Adds the `replies_count` property to StatusPaul Woolcock
Closes #73
2018-09-07change `POST /search` to `GET /search`Paul Woolcock
2018-08-31Add a helper for completing authentication via the command linePaul Woolcock
2018-08-30feat(scopes): Implement granular OAuth scopesPaul Woolcock
BREAKING CHANGE: Applications that use the `Scopes` data structure will have minor changes to make Closes #44
2018-08-27Rework the `Registration` and `App` APIsPaul Woolcock
This puts `register` back to the way it was, and changes the "new" `register` to `build`.
2018-08-27There's no reason for Registration::complete to take an owned stringPaul Woolcock
2018-08-26Remove `elefren::apps::prelude`Paul Woolcock
Since we don't need `App` in a prelude anymore, just move `Registration` and `Scopes` to the main prelude and get rid of `elefren::apps::prelude`
2018-08-25Move the `toml` helpers to `elefren::helpers::toml`Paul Woolcock
2018-08-25rustfmt passPaul Woolcock
2018-08-25duplicate the AppBuilder api in RegistrationPaul Woolcock
Closes #13
2018-08-24rustfmt passPaul Woolcock
2018-08-24Make the examples no-ops when `toml` is not enabledPaul Woolcock
2018-08-23rustfmt passPaul Woolcock
2018-08-23Use the new toml helpers instead of the toml cratePaul Woolcock
2018-08-23rustfmt passPaul Woolcock
2018-08-23Revamp registration & auth processPaul Woolcock
2018-08-22Change `Mastodon::from_data` to just `Mastodon::from`Paul Woolcock
2018-08-21Change mammut references to elefrenPaul Woolcock
2018-08-21Adds a `MastodonClient` traitPaul Woolcock
This is useful for user code, which can use the trait to add a layer of indirection to their code, allowing them to swap out implementations for testing
2018-06-29Changed Scope for examples and allowed input of custom domain.Aaron Power
2018-06-29Moved upload_photo to an exampleAaron Power
2018-06-29Fixed example code, and {un}follow routes.Aaron Power
2018-02-12reformatted example and made it the README example.Aaron Power
2018-02-12Version 0.10.0-rc1Aaron Power
- Added the ability to handle paged entities like favourites and such. (Only favourites in prerelease) - Added optional `source` and `moved` fields to `Account`. - Added `Source` struct to match with the `Account.source` field. - Added `CredientialsBuilder` struct for updating profile using `verify_credientials`. - Attachment now handles being sent an empty object, which is converted to `None`. - Added ombed data fields to `Card`. - Added `version` and `urls` fields to `Instance`. - Added `id`, `muting_notifications`, and `domain_blocking` to `Relationship`. - Added `emojis`, `language`, and `pinned` fields to `Status` - Added `Emoji` struct. - Added `List` and `Mention` structs(matching routes not added yet). - Added example that prints your profile.