Crate tweet [] [src]

This crate provides an executable Command Line Iinterface Tweeter, as well as several functions to return tweets and to tweet.

$ tw send "tweeting from the command line :)"

If you get stuck:

tw --help

Modules

api

urls for the twitter api

parse

This module contains the parser to turn a byte slice into a Tweet

types

This module contains the types for use by the tweet library. It implements Display, so you can print it out easily.

Functions

get_credentials

Reads credentials from a string, i.e. gets them from a file.

print_profile

Display profile for a given user. Takes screen name and number of tweets to return as parameters.

print_timeline

Display timeline. Takes number of tweets to return as a parameter.

profile_raw

Display the raw JSON of a response, useful for debugging.

tweet

Send a tweet