This crate provides an executable tw-rs, as well as several functions to return tweets and to tweet.
$ tw send "tweeting from the command line :)"
If you get stuck:
urls for the twitter api
This module contains the parser to turn a byte slice into a
Module containing benchmarks
This module contains the types for use by the tweet library. It implements Display, so you can print it out easily.
Delete a tweet by its id
Favorite a tweet by its id
Follow a user given their screen name
Reads credentials from a string, i.e. gets them from a file.
Return profile for a given user.
Display profile for a given user. Takes screen name and number of tweets to return as parameters. Boolean argument is whether to print out user ids.
Display timeline. Takes number of tweets to return as a parameter. Second argument is whether to display the id of the tweets.
Display the raw JSON of a response; useful for debugging.
Reply to a tweet
Rewteet a tweet by its id
Send a tweet
Unfavorite a tweet by its id
Unfollow a user given their screen name
Unrewteet a tweet by its id