Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abranhe/tweet

The easiest way to send a tweet in Go
https://github.com/abranhe/tweet

go twitter

Last synced: 28 days ago
JSON representation

The easiest way to send a tweet in Go

Awesome Lists containing this project

README

        

# tweet

The easiest way to send a tweet in Go

[![lint](https://github.com/abranhe/tweet/actions/workflows/lint.yml/badge.svg)](https://github.com/abranhe/tweet/actions/workflows/lint.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/abranhe/tweet)](https://goreportcard.com/report/github.com/abranhe/tweet)
[![CodeQL](https://github.com/abranhe/tweet/actions/workflows/codeql.yml/badge.svg)](https://github.com/abranhe/tweet/actions/workflows/codeql.yml)
[![Go Reference](https://pkg.go.dev/badge/github.com/abranhe/tweet.svg)](https://pkg.go.dev/github.com/abranhe/tweet)

## Install

```console
$ go get github.com/abranhe/tweet
```

## Usage

```go
import "github.com/abranhe/tweet"

func main() {
credentials := tweet.TwitterCredentials{
Token: "",
ct0: "",
Auth: "",
}

tweet.Tweet("Hello, world!", credentials)
}
```