Twurl is a curl-like application for the Twitter API. It knows how to grant an access token to a client application for a specified user and sign all requests with that access token using OAuth.
For more information:
https://dev.twitter.com/ads/tutorials/introduction-to-twurl