Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/g8rswimmer/go-twitter

This is a go library for twitter v2 API integration.
https://github.com/g8rswimmer/go-twitter

go golang twitter twitter-api

Last synced: 3 months ago
JSON representation

This is a go library for twitter v2 API integration.

Awesome Lists containing this project

README

        

![](https://img.shields.io/endpoint?url=https%3A%2F%2Ftwbadges.glitch.me%2Fbadges%2Fv2)
[![golangci-lint](https://github.com/g8rswimmer/go-twitter/actions/workflows/golangci-lint.yml/badge.svg)](https://github.com/g8rswimmer/go-twitter/actions/workflows/golangci-lint.yml)
[![go-test](https://github.com/g8rswimmer/go-twitter/actions/workflows/go-test.yml/badge.svg)](https://github.com/g8rswimmer/go-twitter/actions/workflows/go-test.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

# go-twitter
This is a go library for Twitter v2 API integration.

In order to use or demo this library, you need a developer account with twitter. If you do not have an account, please go [here](https://developer.twitter.com/en). Please understand that by using this library, you are using under the terms which twitter has defined.

## API Reference
The library is based off of [version 2](https://developer.twitter.com/en/docs/twitter-api/early-access) of Twitters API. At the time of creation, the APIs are early access. Please be aware that as the APIs are built out, the library may lag behind.

## Version 2

Version 2 has been released. This is the current version that will be updated and maintained going forward. Please refer to the readme [here](./v2)

```
go get -u github.com/g8rswimmer/go-twitter/v2
```

## Version 1 [deprecated]

```
go get -u github.com/g8rswimmer/go-twitter
```